Skip to content

Commit

Permalink
https://github.com/espressif/esp-idf/issues/6091
Browse files Browse the repository at this point in the history
  • Loading branch information
william-ferguson-au committed Jan 3, 2021
1 parent 178b122 commit 3ae11d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GPATH

# emacs temp file suffixes
*~
.#*
.#*a
\#*#

# eclipse setting
Expand Down Expand Up @@ -88,3 +88,4 @@ build

# lock files for examples and components
dependencies.lock
/run_clion.bat
2 changes: 1 addition & 1 deletion components/driver/adc_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ 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);
//ESP_LOGD(ADC_TAG, "Set cal adc %d\n", cal_val);
}
#endif

Expand Down

0 comments on commit 3ae11d3

Please sign in to comment.