summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorMathias Andersson <wraul@dbox.se>2013-05-20 21:06:08 +0200
committerMathias Andersson <wraul@dbox.se>2013-05-27 18:36:00 +0200
commitddf1759dbebda91bcc550191cf779292da5653fc (patch)
tree93a69a59cdaed98dc80d5362e3f2ad4c48a23016 /protocol
parent862a006190f2ed568d68e22a25b878a3d6368bc0 (diff)
Fixes to sleep LED.
Add help text. Add missing SLEEP_LED_ENABLE checks.
Diffstat (limited to 'protocol')
-rw-r--r--protocol/pjrc/usb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocol/pjrc/usb.c b/protocol/pjrc/usb.c
index 0a5436deb4..902f9f7f77 100644
--- a/protocol/pjrc/usb.c
+++ b/protocol/pjrc/usb.c
@@ -34,7 +34,9 @@
#include "led.h"
#include "print.h"
#include "util.h"
+#ifdef SLEEP_LED_ENABLE
#include "sleep_led.h"
+#endif
#include "suspend.h"