X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fsun_usb%2Fled.c;h=48c3f1c2b29224f09fa305cebf1822e0da673148;hb=e0a95d4075b972ef5d623aa125e009c28e0edaf8;hp=5490ec0c624001be5ff4387ef7b27ad37a4932c9;hpb=81141ad0eba1a9db9abd0f7903d8077c28e76b40;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<