parent
937300d346
commit
0a1cd0743e
|
|
@ -104,7 +104,7 @@ static void adc_cont_init(void)
|
|||
|
||||
/* Create continuous mode driver handle */
|
||||
adc_continuous_handle_cfg_t adc_handle_config = {
|
||||
.max_store_buf_size = 1024,
|
||||
.max_store_buf_size = ADC_READ_LEN,
|
||||
.conv_frame_size = ADC_READ_LEN
|
||||
};
|
||||
ESP_ERROR_CHECK(adc_continuous_new_handle(&adc_handle_config, &adc_handle));
|
||||
|
|
|
|||
Loading…
Reference in New Issue