diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-08-28 10:17:19 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-08-28 10:17:19 +0000 |
commit | a290ce4222b401b0b4af5b3378a00b757bf63d2e (patch) | |
tree | 51500a53d4884678613cb9d626c1f110dc211930 /firmware/drivers/pcf50606.c | |
parent | 032502182b7ec69c8ea82246fad86148ddb042d8 (diff) | |
download | rockbox-a290ce4222b401b0b4af5b3378a00b757bf63d2e.tar.gz rockbox-a290ce4222b401b0b4af5b3378a00b757bf63d2e.zip |
tcc77x targets: various minor cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27913 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/pcf50606.c')
-rw-r--r-- | firmware/drivers/pcf50606.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/pcf50606.c b/firmware/drivers/pcf50606.c index d44718c58b..fb89c827e5 100644 --- a/firmware/drivers/pcf50606.c +++ b/firmware/drivers/pcf50606.c | |||
@@ -72,12 +72,14 @@ void pcf50606_init(void) | |||
72 | #endif | 72 | #endif |
73 | } | 73 | } |
74 | 74 | ||
75 | #if (defined(IAUDIO_X5) || defined(IAUDIO_M5) || defined(COWON_D2)) && !defined (SIMULATOR) | ||
75 | void pcf50606_reset_timeout(void) | 76 | void pcf50606_reset_timeout(void) |
76 | { | 77 | { |
77 | int level = disable_irq_save(); | 78 | int level = disable_irq_save(); |
78 | pcf50606_write(PCF5060X_OOCC1, pcf50606_read(PCF5060X_OOCC1) | TOTRST); | 79 | pcf50606_write(PCF5060X_OOCC1, pcf50606_read(PCF5060X_OOCC1) | TOTRST); |
79 | restore_irq(level); | 80 | restore_irq(level); |
80 | } | 81 | } |
82 | #endif | ||
81 | 83 | ||
82 | void pcf50606_read_adc(int adc, short* res1, short* res2) | 84 | void pcf50606_read_adc(int adc, short* res1, short* res2) |
83 | { | 85 | { |