diff options
Diffstat (limited to 'firmware/target/arm/tcc77x/debug-tcc77x.c')
-rw-r--r-- | firmware/target/arm/tcc77x/debug-tcc77x.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/target/arm/tcc77x/debug-tcc77x.c b/firmware/target/arm/tcc77x/debug-tcc77x.c index 4566c7ea73..203a6010ce 100644 --- a/firmware/target/arm/tcc77x/debug-tcc77x.c +++ b/firmware/target/arm/tcc77x/debug-tcc77x.c | |||
@@ -56,8 +56,11 @@ bool __dbg_hw_info(void) | |||
56 | button = button_get(false); | 56 | button = button_get(false); |
57 | 57 | ||
58 | button &= ~BUTTON_REPEAT; | 58 | button &= ~BUTTON_REPEAT; |
59 | 59 | #ifdef BUTTON_SELECT | |
60 | if (button == BUTTON_SELECT) | 60 | if (button == BUTTON_SELECT) |
61 | #else | ||
62 | if (button == BUTTON_STOP) | ||
63 | #endif | ||
61 | done=true; | 64 | done=true; |
62 | 65 | ||
63 | snprintf(buf, sizeof(buf), "current tick: %08x Seconds running: %08d", | 66 | snprintf(buf, sizeof(buf), "current tick: %08x Seconds running: %08d", |