mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
HAL_ChibiOS: modify hal can drivers for use by AP_Periph
This commit is contained in:
1 parent
c7d69e4d13
commit
36ffcdae30
8 files changed
+161
-73
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#include "EventSource.h"
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#if !defined(HAL_BUILD_AP_PERIPH) && !defined(HAL_BOOTLOADER_BUILD)
|
||||
|
||||
using namespace ChibiOS;
|
||||
|
||||
@@ -31,4 +32,5 @@ void EventSource::signalI(uint32_t evt_mask)
|
||||
ch_evt_src_.broadcastFlagsI(evt_mask);
|
||||
chSysUnlockFromISR();
|
||||
}
|
||||
#endif
|
||||
#endif //#if CH_CFG_USE_EVENTS == TRUE
|
||||
#endif //#if !defined(HAL_BUILD_AP_PERIPH) && !defined(HAL_BOOTLOADER_BUILD)
|
||||
Reference in new issue
Block a user