all: Use nanosleep (via SLEEP) instead usleep
This commit is contained in:
1 parent
a9b1332f8f
commit
bc9f42f559
4 files changed
+13
-10
No files matched your search
+1
-1
@@ -325,7 +325,7 @@ struct usb_device_info * usb_open_and_wait_for_device(void) {
|
||||
if ( ret )
|
||||
break;
|
||||
|
||||
usleep(0xc350); // 0.5s
|
||||
SLEEP(0xc350); // 0.5s
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user