X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=converter%2Fsun_usb%2Fled.c;h=48c3f1c2b29224f09fa305cebf1822e0da673148;hb=894a387d1fd8c823b5339e524e1f9336601ce2ef;hp=5490ec0c624001be5ff4387ef7b27ad37a4932c9;hpb=81141ad0eba1a9db9abd0f7903d8077c28e76b40;p=tmk_firmware.git diff --git a/converter/sun_usb/led.c b/converter/sun_usb/led.c index 5490ec0..48c3f1c 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<