Skip to content

Commit bc01e6e

Browse files
committed
Remove incompatible BleSerial code
Hoping we get PR #2 accepted so that we can directly compile using workflows.
1 parent df5cf92 commit bc01e6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Firmware/RTK_Surveyor/bluetoothSelect.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ class BTLESerial: public virtual BTSerialInterface, public BleSerial
140140
// override BLEServerCallbacks
141141
void onConnect(BLEServer *pServer)
142142
{
143-
bleConnected = true;
143+
//bleConnected = true; Removed until PR is accepted
144144
connectionCallback(ESP_SPP_SRV_OPEN_EVT, nullptr);
145145
}
146146

147147
void onDisconnect(BLEServer *pServer)
148148
{
149-
bleConnected = false;
149+
//bleConnected = false; Removed until PR is accepted
150150
connectionCallback(ESP_SPP_CLOSE_EVT, nullptr);
151151
Server->startAdvertising();
152152
}

0 commit comments

Comments
 (0)