Skip to content

Commit 1eae55e

Browse files
authored
Merge pull request #570 from adafruit/fix-typo-569
fix typo #569
2 parents ce81b83 + 3fb23a3 commit 1eae55e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Bluefruit52Lib/src/BLECharacteristic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ bool BLECharacteristic::notify32(uint16_t conn_hdl, uint32_t num)
724724

725725
bool BLECharacteristic::notify32(uint16_t conn_hdl, int num)
726726
{
727-
return notify32((uint32_t) num, conn_hdl);
727+
return notify(conn_hdl, (uint8_t*) &num, sizeof(num));
728728
}
729729

730730
//--------------------------------------------------------------------+

0 commit comments

Comments
 (0)