This commit is contained in:
xin
2025-06-30 15:52:38 +08:00
parent 978dcf8abf
commit 353ff3353e

View File

@ -5,6 +5,8 @@ void delay(int ms){
Sleep(ms);
}
#else
#include <unistd.h> // For usleep
void delay(int ms){
usleep(ms * 1000); // Convert milliseconds to microseconds
}