adread.cpp bugfix

This commit is contained in:
Klaus K Wilting 2018-06-03 21:06:05 +02:00
parent 34cdbdd5b1
commit 2887fcfef6

View File

@ -11,7 +11,6 @@
// Local logging tag // Local logging tag
static const char TAG[] = "main"; static const char TAG[] = "main";
#ifdef VERBOSE
static void print_char_val_type(esp_adc_cal_value_t val_type) static void print_char_val_type(esp_adc_cal_value_t val_type)
{ {
if (val_type == ESP_ADC_CAL_VAL_EFUSE_TP) { if (val_type == ESP_ADC_CAL_VAL_EFUSE_TP) {
@ -22,7 +21,6 @@ static const char TAG[] = "main";
ESP_LOGI(TAG,"ADC characterization based on default reference voltage"); ESP_LOGI(TAG,"ADC characterization based on default reference voltage");
} }
} }
#endif
uint16_t read_voltage(void) uint16_t read_voltage(void)
{ {