More Bluetooth refactoring (#9905)
This commit is contained in:
1 parent
47f8947bf5
commit
3f392c09b6
5 files changed
+30
-19
No files matched your search
@@ -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>
|
||||
|
||||
# ifdef __cplusplus
|
||||
#include "config_common.h"
|
||||
#include "progmem.h"
|
||||
|
||||
#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
|
||||
Reference in new issue
Block a user