Skip to content

Commit

Permalink
Update Patch\BleSerial.cpp - patch works on both 3.0.0 and older 2.0.…
Browse files Browse the repository at this point in the history
…2 / 2.0.11
  • Loading branch information
PaulZC committed Jun 5, 2024
1 parent d540d10 commit 94b188e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Firmware/RTK_Everywhere/Patch/BleSerial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ void BleSerial::onWrite(BLECharacteristic *pCharacteristic)
{
if (pCharacteristic->getUUID().toString() == BLE_RX_UUID)
{
String value = pCharacteristic->getValue();

String value = pCharacteristic->getValue().c_str();
for (int i = 0; i < value.length(); i++)
receiveBuffer.add(value[i]);
}
Expand Down

0 comments on commit 94b188e

Please sign in to comment.