mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-19 17:23:25 +00:00
8 lines
143 B
C
8 lines
143 B
C
|
#include "cmsis_os.h"
|
||
|
#include <unistd.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
void osDelay(uint32_t ms) {
|
||
|
usleep(ms * 1000);
|
||
|
printf("[DELAY] %d ms\n", ms);
|
||
|
}
|