diff --git a/lib/stdlib.pas b/lib/stdlib.pas index a68848c..8ad45d9 100644 --- a/lib/stdlib.pas +++ b/lib/stdlib.pas @@ -1352,7 +1352,7 @@ var aChar:char; begin repeat aChar := freadchar(aFile); - until (aChar = #13) or eof(aFile); + until eoln(aFile); (* eoln checks for cr, lf and eof *) (* If it is a disk file, try to read the diff --git a/utils/serload.py b/utils/serload.py index eb16a6a..6ccc4a6 100644 --- a/utils/serload.py +++ b/utils/serload.py @@ -296,7 +296,7 @@ def mput(filenames, ser): resp = ser.read_until() - time.sleep(0.5) + time.sleep(2) if __name__ == "__main__":