Browse Source

AP_HAL: allow to build without HAL_COMPASS_DEFAULT

Otherwise we need to change the ifdef chain adding HAL_COMPASS_<BOARD>
definitions.
mission-4.1.18
Lucas De Marchi 9 years ago
parent
commit
424434e31e
  1. 4
      libraries/AP_HAL/AP_HAL_Boards.h

4
libraries/AP_HAL/AP_HAL_Boards.h

@ -423,6 +423,10 @@ @@ -423,6 +423,10 @@
#error "no Linux board subtype set"
#endif
#ifndef HAL_COMPASS_DEFAULT
#define HAL_COMPASS_DEFAULT -1
#endif
#ifndef HAL_LINUX_UARTS_ON_TIMER_THREAD
#define HAL_LINUX_UARTS_ON_TIMER_THREAD 0
#endif

Loading…
Cancel
Save