diff options
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r-- | firmware/target/coldfire/iaudio/x5/pcf50606-x5.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/coldfire/iaudio/x5/pcf50606-x5.c b/firmware/target/coldfire/iaudio/x5/pcf50606-x5.c index 032c30814a..79d98acd6d 100644 --- a/firmware/target/coldfire/iaudio/x5/pcf50606-x5.c +++ b/firmware/target/coldfire/iaudio/x5/pcf50606-x5.c | |||
@@ -177,7 +177,8 @@ void pcf50606_init(void) | |||
177 | and_l(~0x00000001, &GPIO_ENABLE); | 177 | and_l(~0x00000001, &GPIO_ENABLE); |
178 | or_l(0x00000001, &GPIO_FUNCTION); | 178 | or_l(0x00000001, &GPIO_FUNCTION); |
179 | or_l(0x00000100, &GPIO_INT_EN); /* GPI0 H-L */ | 179 | or_l(0x00000100, &GPIO_INT_EN); /* GPI0 H-L */ |
180 | INTPRI5 |= (6 << 0); /* INT32 - Priority 6 */ | 180 | and_l(~0xF, &INTPRI5); /* INT32 - Priority 6 */ |
181 | or_l(0x6, &INTPRI5); | ||
181 | 182 | ||
182 | pcf50606_write(0x39, 0x00); /* GPOOD0 = green led OFF */ | 183 | pcf50606_write(0x39, 0x00); /* GPOOD0 = green led OFF */ |
183 | pcf50606_write(0x3a, 0x00); /* GPOOD1 = red led OFF */ | 184 | pcf50606_write(0x3a, 0x00); /* GPOOD1 = red led OFF */ |