Browse Source

AP_HAL: add HAL_PX4_HAVE_MTD_SUPPORT

mission-4.1.18
Lucas De Marchi 8 years ago committed by Andrew Tridgell
parent
commit
7f5b551050
  1. 5
      libraries/AP_HAL/board/px4.h
  2. 1
      libraries/AP_HAL/board/vrbrain.h

5
libraries/AP_HAL/board/px4.h

@ -85,6 +85,7 @@ @@ -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 @@ @@ -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

1
libraries/AP_HAL/board/vrbrain.h

@ -45,3 +45,4 @@ @@ -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

Loading…
Cancel
Save