From 60c1aada61c49f174a87b5ff3f5e6c0c43411ec6 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Tue, 4 Feb 2014 20:49:00 +0000 Subject: [PATCH] add c++ header protection --- chipset-cc256x/bt_control_cc256x.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/chipset-cc256x/bt_control_cc256x.h b/chipset-cc256x/bt_control_cc256x.h index e72ac255c..35d290ec9 100644 --- a/chipset-cc256x/bt_control_cc256x.h +++ b/chipset-cc256x/bt_control_cc256x.h @@ -43,6 +43,10 @@ #ifndef __BT_CONTROL_CC256X_H #define __BT_CONTROL_CC256X_H +#if defined __cplusplus +extern "C" { +#endif + #include #include "bt_control.h" #include "hci_transport.h" @@ -54,4 +58,9 @@ void bt_control_cc256x_enable_ehcill(int on); int bt_control_cc256x_ehcill_enabled(void); hci_uart_config_t *hci_uart_config_cc256x_instance(void); + +#if defined __cplusplus +} +#endif + #endif // __BT_CONTROL_CC256X_H