diff --git a/src/ble/gatt-service/hids_device.h b/src/ble/gatt-service/hids_device.h index 8db3df608..c81a3038a 100644 --- a/src/ble/gatt-service/hids_device.h +++ b/src/ble/gatt-service/hids_device.h @@ -34,16 +34,22 @@ * contact@bluekitchen-gmbh.com * */ +#ifndef __HIDS_DEVICE_H +#define __HIDS_DEVICE_H + +#include +#include "btstack_defines.h" +#include "bluetooth.h" + +#if defined __cplusplus +extern "C" { +#endif /** * Implementation of the GATT HIDS Device * To use with your application, add '#import ' to your .gatt file */ -#include -#include "btstack_defines.h" -#include "bluetooth.h" - /** * @brief Set up HIDS Device */ @@ -86,3 +92,9 @@ void hids_device_send_boot_mouse_input_report(hci_con_handle_t con_handle, const * @brief Send HID Boot Mouse Input Report */ void hids_device_send_boot_keyboard_input_report(hci_con_handle_t con_handle, const uint8_t * report, uint16_t report_len); + +#if defined __cplusplus +} +#endif + +#endif