mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Driver(ADC): remove ESP_LOGD from adc_set_init_code
ESP_LOGD is called from adc_set_init_code, which is invoked from a critical section. Closes: https://github.com/espressif/esp-idf/issues/6091
This commit is contained in:
parent
c82799c9c8
commit
579b842fd6
@ -246,7 +246,6 @@ static inline void adc_set_init_code(adc_ll_num_t adc_n, adc_channel_t channel)
|
||||
adc_atten_t atten = adc_hal_get_atten(adc_n, channel);
|
||||
uint32_t cal_val = adc_hal_calibration(adc_n, channel, atten, true, false);
|
||||
adc_hal_set_calibration_param(adc_n, cal_val);
|
||||
ESP_LOGD(ADC_TAG, "Set cal adc %d\n", cal_val);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user