summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 57554d8c6f..cb6ad07c4a 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -300,7 +300,11 @@ bool dbg_hw_info(void)
300 bool has_bootrom; /* flag for boot ROM present */ 300 bool has_bootrom; /* flag for boot ROM present */
301 int oldmode; /* saved memory guard mode */ 301 int oldmode; /* saved memory guard mode */
302 302
303#ifdef USB_ENABLE_ONDIOSTYLE
304 if(PADR & 0x20)
305#else
303 if(PADR & 0x400) 306 if(PADR & 0x400)
307#endif
304 usb_polarity = 0; /* Negative */ 308 usb_polarity = 0; /* Negative */
305 else 309 else
306 usb_polarity = 1; /* Positive */ 310 usb_polarity = 1; /* Positive */