[bsp/at32] update at32f435_437 adc driver

This commit is contained in:
sheltonyu 2022-04-22 14:22:00 +08:00 committed by guo
parent 717c678190
commit 7af43fdd4f
1 changed files with 0 additions and 1 deletions

View File

@ -75,7 +75,6 @@ static rt_err_t at32_adc_enabled(struct rt_adc_device *device, rt_uint32_t chann
adc_config_struct.repeat_mode = FALSE; adc_config_struct.repeat_mode = FALSE;
adc_config_struct.sequence_mode = FALSE; adc_config_struct.sequence_mode = FALSE;
adc_base_config(adc_x, &adc_config_struct); adc_base_config(adc_x, &adc_config_struct);
adc_ordinary_software_trigger_enable(adc_x, TRUE);
if (!enabled) if (!enabled)
{ {