mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 02:20:34 +08: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