修复
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user