X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=keyboard%2Fhhkb%2Fled.c;h=8a08fe27fcf691b7acbb0f3f5618150600185776;hb=0a4cc0db3191200819b8cda5481b5cf387b00a2f;hp=669b6107fa7431de04608e81bd161e039e0e6269;hpb=afb08462085132acf7a1962522952f7dbf064519;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<