summaryrefslogtreecommitdiff
path: root/firmware/drivers/pcf50606.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/pcf50606.c')
-rw-r--r--firmware/drivers/pcf50606.c2
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)
75void pcf50606_reset_timeout(void) 76void 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
82void pcf50606_read_adc(int adc, short* res1, short* res2) 84void pcf50606_read_adc(int adc, short* res1, short* res2)
83{ 85{