summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/led.h
diff options
context:
space:
mode:
authortmk <hasu@tmk-kbd.com>2015-07-15 08:13:15 +0200
committertmk <hasu@tmk-kbd.com>2015-07-15 08:13:15 +0200
commit6f5e8ce17e89005130cd0f9ecc6e346a77bb624b (patch)
tree58e42280f0c1c7becb09d4f0f78889817db4d9ae /tmk_core/common/led.h
parente1e0e5b4fb4320e5f9512776912775fb9f589d4c (diff)
downloadqmk_firmware-6f5e8ce17e89005130cd0f9ecc6e346a77bb624b.tar.gz
qmk_firmware-6f5e8ce17e89005130cd0f9ecc6e346a77bb624b.tar.xz
usb_usb: Support locking key indicator LED
Diffstat (limited to 'tmk_core/common/led.h')
-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 402a247b9..d5fc051bf 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