mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 18:00:16 +00:00
ESP-IDF Robot Controls
This commit is contained in:
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
0
ESP-IDF_Robot/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
||||
ea92fa008adfe644454c58b9a70eae9cc45832dd
|
||||
6badc0392267746654e20318e602e466376d434b
|
||||
|
@@ -33,7 +33,7 @@ static esp_err_t rc_adc_init (void) {
|
||||
ESP_ERROR_CHECK( adc_oneshot_new_unit(&init_config1, &adc1_handle));
|
||||
|
||||
adc_oneshot_chan_cfg_t config = {
|
||||
.bitwidth = OC_ADC_DIGI_MAX_BITWIDTH,//ADC_BITWIDTH_DEFAULT,
|
||||
.bitwidth = SOC_ADC_DIGI_MAX_BITWIDTH,//ADC_BITWIDTH_DEFAULT,
|
||||
.atten = ADC_ATTEN,
|
||||
};
|
||||
ESP_ERROR_CHECK(adc_oneshot_config_channel(adc1_handle, ADC1_CHAN0, &config));
|
||||
|
Reference in New Issue
Block a user