diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2017-01-28 14:43:35 -0500 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2017-01-29 19:07:55 -0500 |
commit | 2220a4b695f2f5ac9fe212de4bcfa5365318136f (patch) | |
tree | ef0b31d798b12cbc5cd61e3f020f1856c1759db4 /firmware/target/arm/imx31/gigabeat-s/adc-target.h | |
parent | d4303ac900bae6b0fd2320db33bdb4f10861a430 (diff) | |
download | rockbox-2220a4b695f2f5ac9fe212de4bcfa5365318136f.tar.gz rockbox-2220a4b695f2f5ac9fe212de4bcfa5365318136f.zip |
Improve imx31 interrupt code for PMIC and GPIO
Fix stuff that was bugging me about the way I did it at first.
While messing around I found RDS code wasn't masking its GPIO
ISR as it should, which might lead to two different interrupts
messing with the static data.
Change-Id: I54626809ea3039a842af0cc9e3e42853326c4193
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/adc-target.h')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/adc-target.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/adc-target.h b/firmware/target/arm/imx31/gigabeat-s/adc-target.h index 00027e05df..dbca920b26 100644 --- a/firmware/target/arm/imx31/gigabeat-s/adc-target.h +++ b/firmware/target/arm/imx31/gigabeat-s/adc-target.h | |||
@@ -46,7 +46,6 @@ | |||
46 | #define ADC_UNREG_POWER ADC_BATTERY /* For compatibility */ | 46 | #define ADC_UNREG_POWER ADC_BATTERY /* For compatibility */ |
47 | #define ADC_READ_ERROR 0xFFFF | 47 | #define ADC_READ_ERROR 0xFFFF |
48 | 48 | ||
49 | void adc_done(void); | ||
50 | /* Enable conversion of specified channel (if switchoff is possible) */ | 49 | /* Enable conversion of specified channel (if switchoff is possible) */ |
51 | bool adc_enable_channel(int channel, bool enable); | 50 | bool adc_enable_channel(int channel, bool enable); |
52 | 51 | ||