]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - common/host.h
CapsLock Support
[max/tmk_keyboard.git] / common / host.h
index 11b9aacd7cc50f89537ea3c614952dee72ac32f0..26bf3c362f985cec8b70f29c77ac2b9f65792efe 100644 (file)
@@ -23,6 +23,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #include "host_driver.h"
 
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #ifdef NKRO_ENABLE
 extern bool keyboard_nkro;
 #endif
@@ -54,4 +58,8 @@ void host_mouse_send(report_mouse_t *report);
 void host_system_send(uint16_t data);
 void host_consumer_send(uint16_t data);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif