diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2006-10-25 23:24:07 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2006-10-25 23:24:07 +0000 |
commit | 784dd787456b8c1f52a98559d645714760cd0ad4 (patch) | |
tree | e6d60a5790d4bbc9689b9d1d5f71799415a2c77a /firmware/powermgmt.c | |
parent | 0642451446f3bbaae53948f5fa41485177e3f35e (diff) | |
download | rockbox-784dd787456b8c1f52a98559d645714760cd0ad4.tar.gz rockbox-784dd787456b8c1f52a98559d645714760cd0ad4.zip |
Moved pcf50606 stuff to target directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11348 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index ca68fb168a..50b734bbbd 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -59,10 +59,8 @@ | |||
59 | #include <time.h> | 59 | #include <time.h> |
60 | #endif | 60 | #endif |
61 | 61 | ||
62 | #ifdef IAUDIO_X5 | 62 | #if defined(IAUDIO_X5) && !defined (SIMULATOR) |
63 | #ifndef SIMULATOR | 63 | #include "pcf50606.h" |
64 | extern void pcf50606_reset_timeout(void); | ||
65 | #endif | ||
66 | #endif | 64 | #endif |
67 | 65 | ||
68 | /* | 66 | /* |
@@ -1033,13 +1031,11 @@ void cancel_shutdown(void) | |||
1033 | { | 1031 | { |
1034 | logf("sys_cancel_shutdown()"); | 1032 | logf("sys_cancel_shutdown()"); |
1035 | 1033 | ||
1036 | #ifdef IAUDIO_X5 | 1034 | #if defined(IAUDIO_X5) && !defined (SIMULATOR) |
1037 | #ifndef SIMULATOR | ||
1038 | /* TODO: Move some things to target/ tree */ | 1035 | /* TODO: Move some things to target/ tree */ |
1039 | if (shutdown_timeout) | 1036 | if (shutdown_timeout) |
1040 | pcf50606_reset_timeout(); | 1037 | pcf50606_reset_timeout(); |
1041 | #endif | 1038 | #endif |
1042 | #endif | ||
1043 | 1039 | ||
1044 | shutdown_timeout = 0; | 1040 | shutdown_timeout = 0; |
1045 | } | 1041 | } |
@@ -1076,10 +1072,8 @@ void shutdown_hw(void) | |||
1076 | backlight_set_fade_out(0); | 1072 | backlight_set_fade_out(0); |
1077 | #endif | 1073 | #endif |
1078 | backlight_off(); | 1074 | backlight_off(); |
1079 | #endif /* IAUDIO_X5 */ | ||
1080 | #ifndef IAUDIO_X5 | ||
1081 | lcd_set_contrast(0); | 1075 | lcd_set_contrast(0); |
1082 | #endif | 1076 | #endif /* IAUDIO_X5 */ |
1083 | #ifdef HAVE_REMOTE_LCD | 1077 | #ifdef HAVE_REMOTE_LCD |
1084 | remote_backlight_off(); | 1078 | remote_backlight_off(); |
1085 | lcd_remote_set_contrast(0); | 1079 | lcd_remote_set_contrast(0); |