diff options
-rw-r--r-- | apps/debug_menu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index ed418e7667..65c3a7d6fe 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -136,6 +136,7 @@ bool dbg_hw_info(void) | |||
136 | char buf[32]; | 136 | char buf[32]; |
137 | int button; | 137 | int button; |
138 | int usb_polarity; | 138 | int usb_polarity; |
139 | int bitmask = *(unsigned short*)0x20000fc; | ||
139 | int rom_version = *(unsigned short*)0x20000fe; | 140 | int rom_version = *(unsigned short*)0x20000fe; |
140 | 141 | ||
141 | if(PADR & 0x400) | 142 | if(PADR & 0x400) |
@@ -156,6 +157,9 @@ bool dbg_hw_info(void) | |||
156 | snprintf(buf, 32, "ATA: 0x%x", ata_io_address); | 157 | snprintf(buf, 32, "ATA: 0x%x", ata_io_address); |
157 | lcd_puts(0, 3, buf); | 158 | lcd_puts(0, 3, buf); |
158 | 159 | ||
160 | snprintf(buf, 32, "Mask: 0x%04x", bitmask); | ||
161 | lcd_puts(0, 4, buf); | ||
162 | |||
159 | lcd_update(); | 163 | lcd_update(); |
160 | 164 | ||
161 | button = button_get(true); | 165 | button = button_get(true); |