mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
fmurt1062-v1:Remove EVK build options
This commit is contained in:
committed by
Daniel Agar
parent
a8e0c29161
commit
51f0bc9788
@@ -193,12 +193,8 @@ static int read_id_dn(int *id, uint32_t gpio_drive, uint32_t gpio_sense, int adc
|
||||
|
||||
uint32_t dn_sum = 0;
|
||||
uint16_t dn = 0;
|
||||
#if defined(ON_EVK)
|
||||
|
||||
if (1 || high || low) { // no if
|
||||
#else
|
||||
if ((high ^ low) && low == 0) {
|
||||
#endif
|
||||
/* Yes - Fire up the ADC (it has once control) */
|
||||
|
||||
if (px4_arch_adc_init(HW_REV_VER_ADC_BASE) == OK) {
|
||||
|
||||
Reference in New Issue
Block a user