From 251a4109ff7366df6f6923d24d49b0b0759fd17a Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 8 Jan 2012 15:41:26 +0100 Subject: disalbe WFE, as it interferes with jtag debug --- usb-dfu-experiment/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usb-dfu-experiment/main.c b/usb-dfu-experiment/main.c index 2fdd981..001d8c7 100644 --- a/usb-dfu-experiment/main.c +++ b/usb-dfu-experiment/main.c @@ -450,7 +450,8 @@ int main(void) continue; } else usbConn = 1; - __WFE(); + /* This works, but breaks JTAG debugging */ + //__WFE(); } } /** \endcond */ -- cgit v1.2.3