X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fsun_usb%2Fled.c;h=48c3f1c2b29224f09fa305cebf1822e0da673148;hb=10eb70acb4c8a03fc5bda32d9c23fc41266aef7a;hp=5490ec0c624001be5ff4387ef7b27ad37a4932c9;hpb=b56717b843859aa3188f9a40532b077241269482;p=max%2Ftmk_keyboard.git diff --git a/converter/sun_usb/led.c b/converter/sun_usb/led.c index 5490ec0c..48c3f1c2 100644 --- a/converter/sun_usb/led.c +++ b/converter/sun_usb/led.c @@ -16,10 +16,18 @@ along with this program. If not, see . */ #include "stdint.h" +#include "serial.h" #include "led.h" void led_set(uint8_t usb_led) { - // not supported now + uint8_t sun_led = 0; + if (usb_led & (1<