mtd.cpp: remove use of PX4_I2C_BUS_ONBOARD

This commit is contained in:
Beat Küng 2020-03-19 14:19:29 +01:00 committed by Daniel Agar
parent ee49e500e7
commit 842f656143

View File

@ -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