did this fix flakiness on linux?

This commit is contained in:
R
2024-04-13 03:38:16 +01:00
parent 1b280cc72a
commit cc2b834e2d
+2 -6
View File
@@ -207,12 +207,8 @@ __attribute__((naked)) int main(void) {
set_ep_mode(0, 0b01, 0b01, 0); // STALL for both set_ep_mode(0, 0b01, 0b01, 0); // STALL for both
} }
} else { } else {
switch (master_state >> 24) { // back to stall for everything, expect SETUP
case STATE_CTRL_STATUS_OUT: set_ep_mode(0, 0b01, 0b01, 0); // STALL for both
// back to stall for everything, expect SETUP
set_ep_mode(0, 0b01, 0b01, 0); // STALL for both
break;
}
} }
} }
if ((usb_int_status & 0x1f) == 0x00) { if ((usb_int_status & 0x1f) == 0x00) {