Use native ADC resolution where possible (#15719)

This commit is contained in:
LinFor authored and Scott Lahteine committed 2019-11-06 17:49:17 -06:00
1 parent 9201197878
commit a84e3d1b80
17 files changed
+77 -43

No files matched your search

+1
View File
@@ -89,6 +89,7 @@ int freeMemory();
// ADC
#define HAL_ANALOG_SELECT(pin) HAL_adc_enable_channel(pin)
#define HAL_START_ADC(pin) HAL_adc_start_conversion(pin)
#define HAL_ADC_RESOLUTION 10
#define HAL_READ_ADC() HAL_adc_get_result()
#define HAL_ADC_READY() true