mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Merge pull request #580 from avicarmeli/fix/startup-crlf
Fix CRLF handling in startup configuration parser
This commit is contained in:
2 files changed
+53
-1
No files matched your search
+1
-1
@@ -2148,7 +2148,7 @@ void execute_config(void) __banked
|
||||
skipping = 1;
|
||||
}
|
||||
c = flash_buf[cfg_idx++];
|
||||
if (c == 0 || c == '\n') {
|
||||
if (c == 0 || c == '\n' || c == '\r') {
|
||||
if (skipping) {
|
||||
skipping = 0;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user