This commit is contained in:
hathach committed 2020-09-07 12:20:16 +07:00
1 parent ce81b830a1
commit 3fb23a34f5
1 file changed
+1 -1
@@ -724,7 +724,7 @@ bool BLECharacteristic::notify32(uint16_t conn_hdl, uint32_t num)
bool BLECharacteristic::notify32(uint16_t conn_hdl, int num)
{
return notify32((uint32_t) num, conn_hdl);
return notify(conn_hdl, (uint8_t*) &num, sizeof(num));
}
//--------------------------------------------------------------------+