X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fhhkb%2Fled.c;h=8a08fe27fcf691b7acbb0f3f5618150600185776;hb=12e5a3a13eb86852ad58c131e28ba29c5f09bb2d;hp=669b6107fa7431de04608e81bd161e039e0e6269;hpb=62d1ebb91c7b381ce3d88aad9ee0b03bea9fce26;p=max%2Ftmk_keyboard.git
diff --git a/keyboard/hhkb/led.c b/keyboard/hhkb/led.c
index 669b6107..8a08fe27 100644
--- a/keyboard/hhkb/led.c
+++ b/keyboard/hhkb/led.c
@@ -15,6 +15,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
+#include
#include "stdint.h"
#include "led.h"
@@ -22,5 +23,11 @@ along with this program. If not, see .
/* HHKB has no LEDs */
void led_set(uint8_t usb_led)
{
+ if (usb_led & (1<