File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -631,12 +631,12 @@ m5::hal::error::error_t AdapterGPIOBase::GPIOImpl::read_analog_millivolts(uint32
631631#endif
632632 cali_config.atten = M5_ADC_ATTEN_DB ;
633633 cali_config.bitwidth = ADC_BITWIDTH_DEFAULT ;
634- cali_ok = (adc_cali_create_scheme_curve_fitting (&cali_config, &cali_handle) == ESP_OK );
634+ cali_ok = (adc_cali_create_scheme_curve_fitting (&cali_config, &cali_handle) == ESP_OK );
635635#elif ADC_CALI_SCHEME_LINE_FITTING_SUPPORTED
636636 adc_cali_line_fitting_config_t cali_config = {
637- .unit_id = unit,
638- .atten = M5_ADC_ATTEN_DB ,
639- .bitwidth = ADC_BITWIDTH_DEFAULT ,
637+ .unit_id = unit,
638+ .atten = M5_ADC_ATTEN_DB ,
639+ .bitwidth = ADC_BITWIDTH_DEFAULT ,
640640#if CONFIG_IDF_TARGET_ESP32
641641 .default_vref = 1100 , // Fallback Vref (mV); used only when eFuse has no calibration
642642#endif
You can’t perform that action at this time.
0 commit comments