diff options
Diffstat (limited to 'common/host.h')
-rw-r--r-- | common/host.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/host.h b/common/host.h index 11b9aacd7..26bf3c362 100644 --- a/common/host.h +++ b/common/host.h | |||
@@ -23,6 +23,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
23 | #include "host_driver.h" | 23 | #include "host_driver.h" |
24 | 24 | ||
25 | 25 | ||
26 | #ifdef __cplusplus | ||
27 | extern "C" { | ||
28 | #endif | ||
29 | |||
26 | #ifdef NKRO_ENABLE | 30 | #ifdef NKRO_ENABLE |
27 | extern bool keyboard_nkro; | 31 | extern bool keyboard_nkro; |
28 | #endif | 32 | #endif |
@@ -54,4 +58,8 @@ void host_mouse_send(report_mouse_t *report); | |||
54 | void host_system_send(uint16_t data); | 58 | void host_system_send(uint16_t data); |
55 | void host_consumer_send(uint16_t data); | 59 | void host_consumer_send(uint16_t data); |
56 | 60 | ||
61 | #ifdef __cplusplus | ||
62 | } | ||
63 | #endif | ||
64 | |||
57 | #endif | 65 | #endif |