ftp.spin: more ip_addr fixes
This commit is contained in:
parent
cef5a73016
commit
07bbde82c6
|
@ -50,6 +50,8 @@ byte handle_data 'Handle FTP Data Verbindung
|
||||||
|
|
||||||
PUB main
|
PUB main
|
||||||
|
|
||||||
|
ip_addr := 0
|
||||||
|
|
||||||
ios.start 'ios initialisieren
|
ios.start 'ios initialisieren
|
||||||
ios.printnl
|
ios.printnl
|
||||||
ios.parastart 'parameterübergabe starten
|
ios.parastart 'parameterübergabe starten
|
||||||
|
@ -74,7 +76,6 @@ PUB main
|
||||||
|
|
||||||
PRI setaddr (ipaddr) | pos, count 'IP-Adresse in Variable schreiben
|
PRI setaddr (ipaddr) | pos, count 'IP-Adresse in Variable schreiben
|
||||||
|
|
||||||
ip_addr := 0
|
|
||||||
count := 3
|
count := 3
|
||||||
repeat while ipaddr
|
repeat while ipaddr
|
||||||
pos := str.findCharacter(ipaddr, ".")
|
pos := str.findCharacter(ipaddr, ".")
|
||||||
|
|
Loading…
Reference in New Issue