From 78f2c656d0bda5e7ac454dac3bf6d49cc6d91ee1 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Sat, 27 Mar 2021 11:21:43 +0800 Subject: [PATCH] fix nrf52 builds --- src/nrf52/NRF52Bluetooth.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/nrf52/NRF52Bluetooth.cpp b/src/nrf52/NRF52Bluetooth.cpp index bcd74e10c..e67607c94 100644 --- a/src/nrf52/NRF52Bluetooth.cpp +++ b/src/nrf52/NRF52Bluetooth.cpp @@ -2,9 +2,9 @@ #include "BluetoothCommon.h" #include "configuration.h" #include "main.h" -#include -#include "mesh/mesh-pb-constants.h" #include "mesh/PhoneAPI.h" +#include "mesh/mesh-pb-constants.h" +#include static BLEService meshBleService = BLEService(BLEUuid(MESH_SERVICE_UUID_16)); static BLECharacteristic fromNum = BLECharacteristic(BLEUuid(FROMNUM_UUID_16)); @@ -155,7 +155,6 @@ void fromNumAuthorizeCb(uint16_t conn_hdl, BLECharacteristic *chr, ble_gatts_evt void setupMeshService(void) { bluetoothPhoneAPI = new BluetoothPhoneAPI(); - bluetoothPhoneAPI->init(); meshBleService.begin();