X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=common%2Fkeyboard.h;h=51bf67379aa2791051e6de225dc82bc109cc14eb;hb=c5060ea81942b0e3f8577536ff78402a19abe3d3;hp=988dac36ed8b3b71c6b39acc56e2e108ec72a243;hpb=62d1ebb91c7b381ce3d88aad9ee0b03bea9fce26;p=max%2Ftmk_keyboard.git diff --git a/common/keyboard.h b/common/keyboard.h index 988dac36..51bf6737 100644 --- a/common/keyboard.h +++ b/common/keyboard.h @@ -21,8 +21,14 @@ along with this program. If not, see . #include +#ifdef __cplusplus +extern "C" { +#endif void keyboard_init(void); void keyboard_proc(void); void keyboard_set_leds(uint8_t leds); +#ifdef __cplusplus +} +#endif #endif