From 9439e717ccf5adc2b24552f4025f4294f44f19c1 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 8 Jan 2012 15:34:52 +0100 Subject: DFU: use __WFE() to reduce idle loop power consumption --- usb-dfu-experiment/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'usb-dfu-experiment') diff --git a/usb-dfu-experiment/main.c b/usb-dfu-experiment/main.c index 12de844..e9ef876 100644 --- a/usb-dfu-experiment/main.c +++ b/usb-dfu-experiment/main.c @@ -446,6 +446,7 @@ int main(void) continue; } else usbConn = 1; + __WFE(); } } /** \endcond */ -- cgit v1.2.3