AP_HAL_ChibiOS: make a static-const hal a reference to the external symbol
This commit is contained in:
parent
ffd08628c4
commit
b9804be01c
@ -31,7 +31,7 @@
|
||||
|
||||
using namespace ChibiOS;
|
||||
|
||||
static const AP_HAL::HAL &hal = AP_HAL::get_HAL();
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
DeviceBus::DeviceBus(uint8_t _thread_priority) :
|
||||
thread_priority(_thread_priority)
|
||||
|
Loading…
Reference in New Issue
Block a user