From 28aeef231b95f15ad0ddbc368781e986f559aaa8 Mon Sep 17 00:00:00 2001 From: Mathias Andersson Date: Mon, 20 May 2013 21:08:21 +0200 Subject: Fix Phantom sleep LED. --- keyboard/phantom/led.c | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'keyboard/phantom/led.c') diff --git a/keyboard/phantom/led.c b/keyboard/phantom/led.c index 109004ba8..f4e9108f0 100644 --- a/keyboard/phantom/led.c +++ b/keyboard/phantom/led.c @@ -16,19 +16,34 @@ along with this program. If not, see . */ #include -#include "stdint.h" #include "led.h" void led_set(uint8_t usb_led) { - if (!(usb_led & (1<