Skip to content

Commit 7a5a114

Browse files
committed
Add notification release when exiting early
1 parent 4a6bc45 commit 7a5a114

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/gatewayBLEConnect.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ void BM6_connect::notifyCB(NimBLERemoteCharacteristic* pChar, uint8_t* pData, si
377377
// Check for valid message signature (should start with D15507)
378378
if (output[0] != 0xd1 || output[1] != 0x55 || output[2] != 0x07) {
379379
THEENGS_LOG_NOTICE(F("BM6 invalid message signature" CR));
380+
xTaskNotifyGive(m_taskHandle);
380381
return;
381382
}
382383

0 commit comments

Comments
 (0)