ardupilot/libraries/AP_Networking/lwip_hal/arch/evtimer.c
Andrew Tridgell 535a6a3316 AP_Networking: fixed build of evtimer.c on firmware server
the firmware server uses --out option to waf configure which changes
the include paths
2024-01-06 09:20:47 +11:00

12 lines
277 B
C

/*
wrapper around evtimer.c so we only build when events are
enabled. This prevents a complex check in the ChibiOS mk layer
*/
#include <hal.h>
#if CH_CFG_USE_EVENTS
// this include relies on -I for modules/ChibiOS/os/various/cpp_wrappers
#include <../evtimer.c>
#endif