From 8e113ea9ae595b1bc37e7a567b0bc6b90ec81c05 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 19 Apr 2024 16:51:53 +1000 Subject: squash a bunch of warnings --- src/drivers/adc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/adc.cpp') diff --git a/src/drivers/adc.cpp b/src/drivers/adc.cpp index 56d2cbb4..3379a1ae 100644 --- a/src/drivers/adc.cpp +++ b/src/drivers/adc.cpp @@ -18,7 +18,7 @@ static const adc_bitwidth_t kAdcBitWidth = ADC_BITWIDTH_12; static const adc_unit_t kAdcUnit = ADC_UNIT_1; // Max battery voltage should be a little over 2V due to our divider, so we need // the max attenuation to properly handle the full range. -static const adc_atten_t kAdcAttenuation = ADC_ATTEN_DB_11; +static const adc_atten_t kAdcAttenuation = ADC_ATTEN_DB_12; // Corresponds to SENSOR_VP. static const adc_channel_t kAdcChannel = ADC_CHANNEL_0; -- cgit v1.2.3