AP_HAL: allow to build without HAL_COMPASS_DEFAULT

Otherwise we need to change the ifdef chain adding HAL_COMPASS_<BOARD>
definitions.
This commit is contained in:
Lucas De Marchi 2016-03-23 14:29:07 -03:00
parent 3315f46800
commit 424434e31e

View File

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