summaryrefslogtreecommitdiff
path: root/common/led.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/led.h')
-rw-r--r--common/led.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/led.h b/common/led.h
index 402a247b9a..d5fc051bf5 100644
--- a/common/led.h
+++ b/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