X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tmk_core%2Fcommon%2Fled.h;h=c16305129b9fca290bb0a31b8902c746d60de474;hb=1c0a7ad6c2d5c133a7c8892c9265cda08288a4f4;hp=402a247b9a45ba76f800e6cdc1ca45ab88d9e436;hpb=f1f2066657f4a0998adc016c95d7e541b436e09f;p=qmk_firmware.git diff --git a/tmk_core/common/led.h b/tmk_core/common/led.h index 402a247b9..c16305129 100644 --- a/tmk_core/common/led.h +++ b/tmk_core/common/led.h @@ -19,6 +19,7 @@ along with this program. If not, see . #define LED_H #include "stdint.h" +/* FIXME: Add doxygen comments here. */ /* keyboard LEDs */ #define USB_LED_NUM_LOCK 0 @@ -28,6 +29,16 @@ along with this program. If not, see . #define USB_LED_KANA 4 +#ifdef __cplusplus +extern "C" { +#endif + void led_set(uint8_t usb_led); +void led_init_ports(void); + +#ifdef __cplusplus +} +#endif + #endif