mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
stm32_common:adc read & clear EOC on init
This commit is contained in:
committed by
Daniel Agar
parent
37c1837ceb
commit
2c9a522f71
@@ -183,6 +183,10 @@ int px4_arch_adc_init(uint32_t base_address)
|
||||
}
|
||||
}
|
||||
|
||||
/* Read out result, clear EOC */
|
||||
|
||||
(void) rDR(base_address);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user