Skip to content

Commit f977f88

Browse files
committed
Revert bluetoothSelect isClosed
1 parent 88a3d58 commit f977f88

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Firmware/RTK_Everywhere/bluetoothSelect.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ class BTSerialInterface : public virtual Stream
3333
esp_spp_sec_t sec_mask = (ESP_SPP_SEC_ENCRYPT | ESP_SPP_SEC_AUTHENTICATE),
3434
esp_spp_role_t role = ESP_SPP_ROLE_MASTER) = 0; // Needed for Apple Accessory
3535
virtual bool connected() = 0;
36-
virtual bool isClosed() = 0;
3736
virtual void enableSSP(bool inputCapability, bool outputCapability) = 0;
3837
virtual bool aclConnected() = 0;
3938
virtual uint8_t *aclGetAddress() = 0;
@@ -118,11 +117,6 @@ class BTClassicSerial : public virtual BTSerialInterface, public BluetoothSerial
118117
return (BluetoothSerial::connected());
119118
}
120119

121-
bool isClosed()
122-
{
123-
return (BluetoothSerial::isClosed());
124-
}
125-
126120
void enableSSP(bool inputCapability, bool outputCapability)
127121
{
128122
return (BluetoothSerial::enableSSP(inputCapability, outputCapability));
@@ -222,11 +216,6 @@ class BTLESerial : public virtual BTSerialInterface, public BleSerial
222216
return (BleSerial::connected());
223217
}
224218

225-
bool isClosed()
226-
{
227-
return false;
228-
}
229-
230219
void enableSSP(bool inputCapability, bool outputCapability) {}
231220

232221
bool aclConnected()

0 commit comments

Comments
 (0)