mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 11:06:04 +08:00
linux boards (ocpoc, bbblue, navio2) replace custom adc drivers with simple px4_arch implementation
This commit is contained in:
@@ -57,12 +57,11 @@
|
||||
#define CYCLE_TICKS_DELAY MSEC2TICK(100)
|
||||
|
||||
|
||||
uint32_t px4_arch_adc_dn_fullcount(void)
|
||||
uint32_t px4_arch_adc_dn_fullcount()
|
||||
{
|
||||
return 1 << 12; // 12 bit ADC
|
||||
}
|
||||
|
||||
|
||||
enum AEROFC_ADC_BUS {
|
||||
AEROFC_ADC_BUS_ALL = 0,
|
||||
AEROFC_ADC_BUS_I2C_INTERNAL,
|
||||
|
||||
Reference in New Issue
Block a user