diff options
Diffstat (limited to 'common/keyboard.h')
-rw-r--r-- | common/keyboard.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/keyboard.h b/common/keyboard.h index 988dac36e..51bf67379 100644 --- a/common/keyboard.h +++ b/common/keyboard.h | |||
@@ -21,8 +21,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
21 | #include <stdint.h> | 21 | #include <stdint.h> |
22 | 22 | ||
23 | 23 | ||
24 | #ifdef __cplusplus | ||
25 | extern "C" { | ||
26 | #endif | ||
24 | void keyboard_init(void); | 27 | void keyboard_init(void); |
25 | void keyboard_proc(void); | 28 | void keyboard_proc(void); |
26 | void keyboard_set_leds(uint8_t leds); | 29 | void keyboard_set_leds(uint8_t leds); |
30 | #ifdef __cplusplus | ||
31 | } | ||
32 | #endif | ||
27 | 33 | ||
28 | #endif | 34 | #endif |