summaryrefslogtreecommitdiff
path: root/adb_usb/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'adb_usb/led.c')
-rw-r--r--adb_usb/led.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/adb_usb/led.c b/adb_usb/led.c
new file mode 100644
index 0000000000..93009a52fe
--- /dev/null
+++ b/adb_usb/led.c
@@ -0,0 +1,9 @@
+#include "stdint.h"
+#include "adb.h"
+#include "led.h"
+
+
+void led_set(uint8_t usb_led)
+{
+ adb_host_kbd_led(~usb_led);
+}