mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-14 09:25:49 -04:00
Handle reset info in reset syscall
Disabling debug printouts to get firmware to fit in ROM
This commit is contained in:
parent
4a2c1e59f8
commit
44624d8e3f
4 changed files with 13 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue