mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
AP_HAL_ChibiOS: make a static-const hal a reference to the external symbol
This commit is contained in:
1 parent
7038d522b8
commit
2d2fdf8bd0
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user