blackmagic-esp32-s2/main/delay.c

7 lines
147 B
C
Raw Permalink Normal View History

2021-11-19 19:14:52 +00:00
#include "delay.h"
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
void delay(uint32_t ms) {
vTaskDelay(100 / portTICK_PERIOD_MS);
}