summaryrefslogtreecommitdiffstats
path: root/adb_usb/led.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2011-02-21 23:05:28 +0900
committertmk <nobody@nowhere>2011-02-22 03:09:18 +0900
commitc958b2d19b0ec0dbc02f87dc4c9ccee933a54be5 (patch)
tree8d77a25de9b3d459c3a74c9c9c324e93367682d1 /adb_usb/led.c
parentfb8d23c60c757d5d9c2270cb0123a53be2049a28 (diff)
fixed adb_usb to comply new API.
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);
+}