diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-01-08 15:34:52 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-01-08 15:34:52 +0100 |
commit | 9439e717ccf5adc2b24552f4025f4294f44f19c1 (patch) | |
tree | 78e8b15b527a8525d59940c3dcdf37c5bf2cff6c /usb-dfu-experiment | |
parent | eaf3be4fb75f8dda3e2be044f096338aa3069ba2 (diff) |
DFU: use __WFE() to reduce idle loop power consumption
Diffstat (limited to 'usb-dfu-experiment')
-rw-r--r-- | usb-dfu-experiment/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |