Allow Serial Overrun Protection to be disabled

This commit is contained in:
Scott Lahteine
2018-11-23 21:05:59 -06:00
parent 29c53f2402
commit 1fcc13b011
65 changed files with 283 additions and 29 deletions

View File

@ -117,7 +117,7 @@ inline int32_t count_test_bytes(const char * const ptr) {
print_hex_byte(ptr[i]);
SERIAL_CHAR(' ');
}
safe_delay(25);
serial_delay(25);
SERIAL_CHAR('|'); // Point out non test bytes
for (uint8_t i = 0; i < 16; i++) {
char ccc = (char)ptr[i]; // cast to char before automatically casting to char on assignment, in case the compiler is broken
@ -131,7 +131,7 @@ inline int32_t count_test_bytes(const char * const ptr) {
}
SERIAL_EOL();
ptr += 16;
safe_delay(25);
serial_delay(25);
idle();
}
}
@ -170,7 +170,7 @@ inline int check_for_free_memory_corruption(PGM_P const title) {
// safe_delay(20); // boards.
// while ( !READ(63))
// idle();
safe_delay(20);
serial_delay(20);
#if ENABLED(M100_FREE_MEMORY_DUMPER)
M100_dump_routine(PSTR(" Memory corruption detected with sp<Heap\n"), (char*)0x1B80, (char*)0x21FF);
#endif