Skip to content

Commit 3c27998

Browse files
authored
Merge pull request #229 from techno/master
Bug Fix: Incorrect cast on BLECharacteristic::read32()
2 parents e05bdc9 + 2aef4dd commit 3c27998

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
@@ -556,7 +556,7 @@ uint16_t BLECharacteristic::read16(void)
556556

557557
uint32_t BLECharacteristic::read32(void)
558558
{
559-
uint16_t num;
559+
uint32_t num;
560560
return read(&num, sizeof(num)) ? num : 0;
561561
}
562562

0 commit comments

Comments
 (0)