did this fix flakiness on linux?
This commit is contained in:
+2
-6
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user