summaryrefslogtreecommitdiff
path: root/tmk_core/protocol/lufa/adafruit_ble.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-08-19 22:46:15 +1000
committerDrashna Jael're <drashna@live.com>2020-09-30 03:29:43 -0700
commit2d4e228d0a12ee6e14683792b4e8886e07f52763 (patch)
tree4e8e22704929fb126ff5bdf69fd07ff6fb4391c4 /tmk_core/protocol/lufa/adafruit_ble.h
parent44e16ef407ba21b4a9453004c2078610e3d2c568 (diff)
More Bluetooth refactoring (#9905)
Diffstat (limited to 'tmk_core/protocol/lufa/adafruit_ble.h')
-rw-r--r--tmk_core/protocol/lufa/adafruit_ble.h23
1 files changed, 11 insertions, 12 deletions
diff --git a/tmk_core/protocol/lufa/adafruit_ble.h b/tmk_core/protocol/lufa/adafruit_ble.h
index cef46fe9f7..aebded7b31 100644
--- a/tmk_core/protocol/lufa/adafruit_ble.h
+++ b/tmk_core/protocol/lufa/adafruit_ble.h
@@ -2,18 +2,19 @@
* Author: Wez Furlong, 2016
* Supports the Adafruit BLE board built around the nRF51822 chip.
*/
+
#pragma once
-#ifdef MODULE_ADAFRUIT_BLE
-# include <stdbool.h>
-# include <stdint.h>
-# include <string.h>
-# include "config_common.h"
-# include "progmem.h"
+#include <stdbool.h>
+#include <stdint.h>
+#include <string.h>
+
+#include "config_common.h"
+#include "progmem.h"
-# ifdef __cplusplus
+#ifdef __cplusplus
extern "C" {
-# endif
+#endif
/* Instruct the module to enable HID keyboard support and reset */
extern bool adafruit_ble_enable_keyboard(void);
@@ -54,8 +55,6 @@ extern uint32_t adafruit_ble_read_battery_voltage(void);
extern bool adafruit_ble_set_mode_leds(bool on);
extern bool adafruit_ble_set_power_level(int8_t level);
-# ifdef __cplusplus
+#ifdef __cplusplus
}
-# endif
-
-#endif // MODULE_ADAFRUIT_BLE
+#endif