chg: Shortend a wait. Not sure why we wait here.

This commit is contained in:
iceman1001 2017-10-20 14:51:12 +02:00
commit a9bf084916

View file

@ -1091,7 +1091,9 @@ void UsbPacketReceived(uint8_t *packet, int len) {
case CMD_FINISH_WRITE:
case CMD_HARDWARE_RESET:
usb_disable();
SpinDelay(2000);
// (iceman) why this wait?
SpinDelay(1000);
AT91C_BASE_RSTC->RSTC_RCR = RST_CONTROL_KEY | AT91C_RSTC_PROCRST;
// We're going to reset, and the bootrom will take control.
for(;;) {}