mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
fix: accept CR delimiters in flash startup configuration
This commit is contained in:
1 parent
da7909f422
commit
0e85137e7a
2 files changed
+53
-1
No files matched your search
+1
-1
@@ -2116,7 +2116,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