This commit is contained in:
Lubos Petrovic
2020-12-20 17:13:12 +01:00
parent ea6261f09e
commit 5f1fd5350e

View File

@@ -123,7 +123,7 @@ static void notifyCallback (BLERemoteCharacteristic * pBLERemoteCharacteristic,
ch = pData[i]; ch = pData[i];
if (ch == '\r' || ch == '\n' || ch == '\0') { if (ch == '\r' || ch == '\n' || ch == '\0') {
if (liveDataObj->responseRow != "") if (liveDataObj->responseRow != "")
commObj->parseRow(); commObj->parseResponse();
liveDataObj->responseRow = ""; liveDataObj->responseRow = "";
} else { } else {
liveDataObj->responseRow += ch; liveDataObj->responseRow += ch;