Merge branch 'master' into develop

This commit is contained in:
hathach committed 2020-03-12 21:38:52 +07:00
commit fd0b115f42
111 files changed
+41426 -15297

No files matched your search

@@ -217,6 +217,11 @@ bool BLEConnection::getHvnPacket (void)
return xSemaphoreTake(_hvn_sem, ms2tick(BLE_GENERIC_TIMEOUT));
}
bool BLEConnection::releaseHvnPacket(void)
{
return xSemaphoreGive(_hvn_sem);
}
bool BLEConnection::getWriteCmdPacket (void)
{
return xSemaphoreTake(_wrcmd_sem, ms2tick(BLE_GENERIC_TIMEOUT));