[Fix] Make ChibiOS `_wait.h` independent of `quantum.h` (#17645)
This commit is contained in:
parent
bbd6ea977c
commit
45ffe42f1a
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
#include <ch.h>
|
#include <ch.h>
|
||||||
#include <hal.h>
|
#include <hal.h>
|
||||||
|
#include "chibios_config.h"
|
||||||
|
|
||||||
/* chThdSleepX of zero maps to infinite - so we map to a tiny delay to still yield */
|
/* chThdSleepX of zero maps to infinite - so we map to a tiny delay to still yield */
|
||||||
#define wait_ms(ms) \
|
#define wait_ms(ms) \
|
||||||
|
|
Loading…
Reference in New Issue