code cleanup
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ void usb_device_main(void) {
|
||||
break;
|
||||
case DEVICE_RESTART:
|
||||
if (tud_disconnect()) {
|
||||
sleep_ms(100);
|
||||
sleep_ms(10);
|
||||
if (tud_connect()) {
|
||||
if ( host_state == HOST_INACTIVE ) {
|
||||
device_state = DEVICE_INACTIVE;
|
||||
|
||||
Reference in New Issue
Block a user