mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
Merge branch 'bugfix/fix_adc_dac_conflict' into 'master'
Driver(adc): Disable the synchronization operation function of ADC1 and DAC Closes IDF-1585 See merge request espressif/esp-idf!8364
This commit is contained in:
@@ -166,6 +166,7 @@ static int hall_sensor_get_value(void) //hall sensor without LNA
|
||||
// set controller
|
||||
adc_hal_set_controller( ADC_NUM_1, ADC_CTRL_RTC );
|
||||
hall_value = adc_hal_hall_convert();
|
||||
adc_hal_hall_disable();
|
||||
ADC_EXIT_CRITICAL();
|
||||
|
||||
return hall_value;
|
||||
|
Reference in New Issue
Block a user