diff options
Diffstat (limited to 'lib/pbdrv/ext/freertos/pb-mod.c')
-rw-r--r-- | lib/pbdrv/ext/freertos/pb-mod.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/pbdrv/ext/freertos/pb-mod.c b/lib/pbdrv/ext/freertos/pb-mod.c new file mode 100644 index 0000000..75495be --- /dev/null +++ b/lib/pbdrv/ext/freertos/pb-mod.c @@ -0,0 +1,9 @@ +#include <FreeRTOS.h> +#include <task.h> + +#include "../../pb-types.h" + +__weak void pb_mod_blocking_delay_ms(unsigned long ms) { + vTaskDelay(ms / portTICK_PERIOD_MS); +} + |