diff options
author | Michael Chicoine <mc2739@gmail.com> | 2009-11-23 17:43:42 +0000 |
---|---|---|
committer | Michael Chicoine <mc2739@gmail.com> | 2009-11-23 17:43:42 +0000 |
commit | ae22ef13edf317137504770aadac429df3b0d53f (patch) | |
tree | e8cef9af2c5f2c236afe2d21848517d383a33669 | |
parent | 8ceb030b8ede18b687e1da17a6f5ce169482f07e (diff) | |
download | rockbox-ae22ef13edf317137504770aadac429df3b0d53f.tar.gz rockbox-ae22ef13edf317137504770aadac429df3b0d53f.zip |
UISimulator - prevent multiple definition of usb_inserted when USB_NONE is defined
This fixes simulator build errors on mini2440
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23723 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | uisimulator/common/stubs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index 2218c497f8..d1ec4ec6c2 100644 --- a/uisimulator/common/stubs.c +++ b/uisimulator/common/stubs.c | |||
@@ -250,10 +250,12 @@ bool charging_state(void) | |||
250 | } | 250 | } |
251 | #endif /* CONFIG_CHARGING */ | 251 | #endif /* CONFIG_CHARGING */ |
252 | 252 | ||
253 | #ifndef USB_NONE | ||
253 | bool usb_inserted(void) | 254 | bool usb_inserted(void) |
254 | { | 255 | { |
255 | return false; | 256 | return false; |
256 | } | 257 | } |
258 | #endif | ||
257 | 259 | ||
258 | #ifdef HAVE_REMOTE_LCD_TICKING | 260 | #ifdef HAVE_REMOTE_LCD_TICKING |
259 | void lcd_remote_emireduce(bool state) | 261 | void lcd_remote_emireduce(bool state) |