AP_HAL: add HAL_PX4_HAVE_MTD_SUPPORT

This commit is contained in:
Lucas De Marchi 2017-03-20 11:16:20 -07:00 committed by Andrew Tridgell
parent fab0358a0f
commit 7f5b551050
2 changed files with 6 additions and 0 deletions

View File

@ -85,6 +85,7 @@
#define HAL_COMPASS_IST8310_I2C_BUS 1
#define HAL_SERIAL0_BAUD_DEFAULT 460800
#define HAL_HAVE_BOARD_VOLTAGE 0
#define HAL_PX4_HAVE_MTD_SUPPORT 0
#endif
/* default values */
@ -95,3 +96,7 @@
#ifndef HAL_HAVE_BOARD_VOLTAGE
#define HAL_HAVE_BOARD_VOLTAGE 1
#endif
#ifndef HAL_PX4_HAVE_MTD_SUPPORT
#define HAL_PX4_HAVE_MTD_SUPPORT 1
#endif

View File

@ -45,3 +45,4 @@
#define EXTERNAL_LED_MOTOR2 31 // Motor2 LED - AN12
#define HAL_HAVE_BOARD_VOLTAGE 0
#define HAL_PX4_HAVE_MTD_SUPPORT 1