From f51adbed2c6fb89129ce674e91543ec1122badd7 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Mon, 15 Jul 2013 20:11:20 +0000 Subject: [PATCH] add C++ protection --- ble/att.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ble/att.h b/ble/att.h index 749608111..6c42e15cb 100644 --- a/ble/att.h +++ b/ble/att.h @@ -38,6 +38,10 @@ #include +#if defined __cplusplus +extern "C" { +#endif + // MARK: Attribute PDU Opcodes #define ATT_ERROR_RESPONSE 0x01 @@ -160,5 +164,6 @@ uint16_t att_prepare_handle_value_indication(att_connection_t * att_connection, uint16_t value_len, uint8_t * response_buffer); - - +#if defined __cplusplus +} +#endif