mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
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:
parent
3315f46800
commit
424434e31e
@ -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…
Reference in New Issue
Block a user