Skip to content

Commit

Permalink
power.cpp: fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberman54 committed May 20, 2024
1 parent 767b93d commit ff6343e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/power.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static const adc1_channel_t adc_channel = BAT_MEASURE_ADC;
static const adc2_channel_t adc_channel = BAT_MEASURE_ADC;
RTC_NOINIT_ATTR uint64_t RTC_reg_b;
#endif
static const adc_atten_t atten = ADC_ATTEN_DB_11;
static const adc_atten_t atten = ADC_ATTEN_DB_12;
static const adc_unit_t unit = ADC_UNIT_1;
#endif // BAT_MEASURE_ADC

Expand Down

0 comments on commit ff6343e

Please sign in to comment.