summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-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 57554d8..cb6ad07 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -300,7 +300,11 @@ bool dbg_hw_info(void)
bool has_bootrom; /* flag for boot ROM present */
int oldmode; /* saved memory guard mode */
+#ifdef USB_ENABLE_ONDIOSTYLE
+ if(PADR & 0x20)
+#else
if(PADR & 0x400)
+#endif
usb_polarity = 0; /* Negative */
else
usb_polarity = 1; /* Positive */