summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-01-08 15:41:26 +0100
committerHarald Welte <laforge@gnumonks.org>2012-01-08 15:41:52 +0100
commit251a4109ff7366df6f6923d24d49b0b0759fd17a (patch)
treeef84f4bc9805e43aba678abb343abe994c97b757
parentb3d3d2161c2d8ae685390b6d635ccc9e2a5df9aa (diff)
disalbe WFE, as it interferes with jtag debug
-rw-r--r--usb-dfu-experiment/main.c3
1 files changed, 2 insertions, 1 deletions
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 */
personal git repositories of Harald Welte. Your mileage may vary