mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
mtd.cpp: remove use of PX4_I2C_BUS_ONBOARD
This commit is contained in:
parent
ee49e500e7
commit
842f656143
@ -92,11 +92,7 @@ static int ramtron_attach(void);
|
||||
#else
|
||||
|
||||
#ifndef PX4_I2C_BUS_MTD
|
||||
# ifdef PX4_I2C_BUS_ONBOARD
|
||||
# define PX4_I2C_BUS_MTD PX4_I2C_BUS_ONBOARD
|
||||
# else
|
||||
# error PX4_I2C_BUS_MTD and PX4_I2C_BUS_ONBOARD not defined, cannot locate onboard EEPROM
|
||||
# endif
|
||||
#error "Board needs to define PX4_I2C_BUS_MTD for onboard EEPROM bus"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user