Handle reset info in reset syscall

Disabling debug printouts to get firmware to fit in ROM
This commit is contained in:
Mikael Ågren 2025-03-17 18:41:50 +01:00
parent 4a2c1e59f8
commit 44624d8e3f
No known key found for this signature in database
GPG key ID: E02DA3D397792C46
4 changed files with 13 additions and 3 deletions

View file

@ -55,7 +55,7 @@ int main(void)
while (1) {
debug_puts("Waiting for command\n");
debug_puts("reset_test: Waiting for command\n");
memset(cmdbuf, 0, BUFSIZE);
@ -69,6 +69,8 @@ int main(void)
assert(1 == 2);
}
led_set(LED_BLUE | LED_RED);
switch (cmdbuf[0]) {
case '1':
rst.type = START_DEFAULT;