From 4c428e077ce0fd9e906f69e3999ec0dae64d4067 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 1 Oct 2004 20:21:17 +0000 Subject: Fixed Ondio USB polarity debug display git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5148 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/debug_menu.c') 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) 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 */ -- cgit v1.2.3