Skip to content

Commit

Permalink
ESP32 ADC compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Nov 12, 2023
1 parent 8e7403e commit e038fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AudioAnalog/AnalogAudioESP32V1.h
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ class AnalogDriverESP32V1 : public AnalogDriverBase {
cali_config.unit_id = (adc_unit_t) unit;
cali_config.atten = (adc_atten_t) cfg.adc_attenuation;
cali_config.bitwidth = (adc_bitwidth_t) cfg.adc_bit_width;
err = adc_cali_create_scheme_line_fitting(&cali_config, &adc_cali_handle);
auto err = adc_cali_create_scheme_line_fitting(&cali_config, &adc_cali_handle);
#endif
if(err != ESP_OK){
LOGE("creating cali handle failed for ADC%d with atten %d and bitwidth %d",
Expand Down

0 comments on commit e038fda

Please sign in to comment.