diff options
| -rw-r--r-- | firmware/target/coldfire/mpio/hd200/adc-hd200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/coldfire/mpio/hd200/adc-hd200.c b/firmware/target/coldfire/mpio/hd200/adc-hd200.c index 8bf9643..8a64e00 100644 --- a/firmware/target/coldfire/mpio/hd200/adc-hd200.c +++ b/firmware/target/coldfire/mpio/hd200/adc-hd200.c @@ -40,7 +40,7 @@ volatile unsigned short adc_data[NUM_ADC_CHANNELS] IBSS_ATTR; void ADC(void) __attribute__ ((interrupt_handler,section(".icode"))); void ADC(void) { - static unsigned char channel; + static unsigned int channel IBSS_ATTR; /* read current value */ adc_data[(channel & 0x03)] = ADVALUE; |