summaryrefslogtreecommitdiff
path: root/firmware/target/sh/debug-sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/sh/debug-sh.c')
-rw-r--r--firmware/target/sh/debug-sh.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/firmware/target/sh/debug-sh.c b/firmware/target/sh/debug-sh.c
index 78d0032199..180c37f3c6 100644
--- a/firmware/target/sh/debug-sh.c
+++ b/firmware/target/sh/debug-sh.c
@@ -30,8 +30,13 @@
30#include "adc.h" 30#include "adc.h"
31#include "hwcompat.h" /* ROM_VERSION */ 31#include "hwcompat.h" /* ROM_VERSION */
32#include "crc32.h" 32#include "crc32.h"
33#include "debug-target.h"
34 33
34#if CONFIG_KEYPAD == RECORDER_PAD
35# define DEBUG_CANCEL BUTTON_OFF
36
37#elif CONFIG_KEYPAD == ONDIO_PAD
38# define DEBUG_CANCEL BUTTON_MENU
39#endif
35 40
36/* Tool function to read the flash manufacturer and type, if available. 41/* Tool function to read the flash manufacturer and type, if available.
37 Only chips which could be reprogrammed in system will return values. 42 Only chips which could be reprogrammed in system will return values.
@@ -276,4 +281,3 @@ bool dbg_hw_info(void)
276#endif 281#endif
277 return false; 282 return false;
278} 283}
279