summaryrefslogtreecommitdiff
path: root/chip/it83xx/adc_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/it83xx/adc_chip.h')
-rw-r--r--chip/it83xx/adc_chip.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chip/it83xx/adc_chip.h b/chip/it83xx/adc_chip.h
index f843dca996..23cc68fb34 100644
--- a/chip/it83xx/adc_chip.h
+++ b/chip/it83xx/adc_chip.h
@@ -13,11 +13,11 @@
/*
* Maximum time we allow for an ADC conversion.
* NOTE:
- * This setting must be less than "SLEEP_SET_HTIMER_DELAY_USEC" in clock.c
- * or adding a sleep mask to prevent going in to deep sleep while ADC
+ * Because this setting greater than "SLEEP_SET_HTIMER_DELAY_USEC" in clock.c,
+ * so we enabled sleep mask to prevent going in to deep sleep while ADC
* converting.
*/
-#define ADC_TIMEOUT_US 248
+#define ADC_TIMEOUT_US MSEC
/* Minimum and maximum values returned by adc_read_channel(). */
#define ADC_READ_MIN 0