[Fix] Make ChibiOS `_wait.h` independent of `quantum.h` (#17645)

This commit is contained in:
Stefan Kerkmann 2022-07-12 21:54:33 +02:00 committed by GitHub
parent bbd6ea977c
commit 45ffe42f1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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) \