File tree 3 files changed +6
-1
lines changed
3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 16
16
// Useful if you want to advertise some sort of message
17
17
// Button is attached between GPIO 0 and GND, and the device name changes each time the button is pressed
18
18
19
+ #include " SimpleBLE.h"
20
+
19
21
#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
20
22
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
21
23
#endif
22
24
23
- #include " SimpleBLE.h"
24
25
SimpleBLE ble;
25
26
26
27
void onButton (){
Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
+ #include " sdkconfig.h"
16
+
15
17
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
16
18
17
19
#include " SimpleBLE.h"
Original file line number Diff line number Diff line change 15
15
#ifndef _SIMPLE_BLE_H_
16
16
#define _SIMPLE_BLE_H_
17
17
18
+ #include " sdkconfig.h"
19
+
18
20
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
19
21
20
22
#include < cstdint>
You can’t perform that action at this time.
0 commit comments