1
0
Fork 0
forked from len0rd/rockbox

Fixed the x5 sim build error I hope.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10933 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2006-09-12 14:37:22 +00:00
parent 3bee89ed44
commit 678d662f74

View file

@ -60,8 +60,10 @@
#endif #endif
#ifdef IAUDIO_X5 #ifdef IAUDIO_X5
#ifndef SIMULATOR
extern void pcf50606_reset_timeout(void); extern void pcf50606_reset_timeout(void);
#endif #endif
#endif
/* /*
* Define DEBUG_FILE to create a csv (spreadsheet) with battery information * Define DEBUG_FILE to create a csv (spreadsheet) with battery information
@ -1016,9 +1018,11 @@ void cancel_shutdown(void)
logf("sys_cancel_shutdown()"); logf("sys_cancel_shutdown()");
#ifdef IAUDIO_X5 #ifdef IAUDIO_X5
#ifndef SIMULATOR
/* TODO: Move some things to target/ tree */ /* TODO: Move some things to target/ tree */
if (shutdown_timeout) if (shutdown_timeout)
pcf50606_reset_timeout(); pcf50606_reset_timeout();
#endif
#endif #endif
shutdown_timeout = 0; shutdown_timeout = 0;