diff options
Diffstat (limited to 'chip/it83xx/adc.c')
-rw-r--r-- | chip/it83xx/adc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/it83xx/adc.c b/chip/it83xx/adc.c index 6b8361dbdb..71f92c44e9 100644 --- a/chip/it83xx/adc.c +++ b/chip/it83xx/adc.c @@ -222,8 +222,8 @@ static void adc_init(void) * NOTE: A sample time delay (60us) also need to be included in * conversion time, so the final result is ~= 121.6us. */ - IT83XX_ADC_ADCSTS &= ~(1 << 7); - IT83XX_ADC_ADCCFG &= ~(1 << 5); + IT83XX_ADC_ADCSTS &= ~BIT(7); + IT83XX_ADC_ADCCFG &= ~BIT(5); IT83XX_ADC_ADCCTL = 1; task_waiting = TASK_ID_INVALID; |