summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authortmk <hasu@tmk-kbd.com>2015-07-15 15:13:15 +0900
committertmk <hasu@tmk-kbd.com>2015-07-15 15:13:15 +0900
commit6f5e8ce17e89005130cd0f9ecc6e346a77bb624b (patch)
tree58e42280f0c1c7becb09d4f0f78889817db4d9ae /tmk_core
parente1e0e5b4fb4320e5f9512776912775fb9f589d4c (diff)
usb_usb: Support locking key indicator LED
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common/led.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tmk_core/common/led.h b/tmk_core/common/led.h
index 402a247b9a..d5fc051bf5 100644
--- a/tmk_core/common/led.h
+++ b/tmk_core/common/led.h
@@ -28,6 +28,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define USB_LED_KANA 4
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void led_set(uint8_t usb_led);
+#ifdef __cplusplus
+}
+#endif
+
#endif