]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - protocol/pjrc/usb.c
Merge pull request #81 from bgould/master
[max/tmk_keyboard.git] / protocol / pjrc / usb.c
index 902f9f7f7742751657fb35a8ba3da12a9ad0ab50..393b36f78e04048a87ec1a6c49e92e1927c03a5f 100644 (file)
@@ -38,6 +38,7 @@
 #include "sleep_led.h"
 #endif
 #include "suspend.h"
+#include "action_util.h"
 
 
 /**************************************************************************
@@ -661,8 +662,9 @@ ISR(USB_GEN_vect)
             suspend_wakeup_init();
 #ifdef SLEEP_LED_ENABLE
             sleep_led_disable();
-#endif
+            // NOTE: converters may not accept this
             led_set(host_keyboard_leds());
+#endif
 
             UDIEN |= (1<<SUSPE);
             UDIEN &= ~(1<<WAKEUPE);