From a9bf0849167c09f14402290ddb92202cd2167d6d Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 20 Oct 2017 14:51:12 +0200 Subject: [PATCH] chg: Shortend a wait. Not sure why we wait here. --- armsrc/appmain.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/armsrc/appmain.c b/armsrc/appmain.c index f7c91fc5e..b340fc785 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -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(;;) {}