4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 12:03:29 +08:00

[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

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.sequence_mode = FALSE;
adc_base_config(adc_x, &adc_config_struct);
adc_ordinary_software_trigger_enable(adc_x, TRUE);
if (!enabled)
{