Fix for Upstream JTAG lockout - don't execute WFI too soon!

USG_1.0
Robert Fisk 8 years ago
parent 41c0624459
commit eea91c8077

@ -68,9 +68,9 @@ int main(void)
GPIO_Init(); GPIO_Init();
LED_Init(); LED_Init();
USB_Device_Init(); USB_Device_Init();
Upstream_InitStateMachine(); Upstream_InitStateMachine();
HAL_Delay(200); //Delay executing WFI to avoid destroying JTAG access
while (1) while (1)
{ {

Loading…
Cancel
Save