We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73ccce2 commit 2a47244Copy full SHA for 2a47244
libraries/BLE/src/BLECharacteristic.cpp
@@ -392,7 +392,7 @@ void BLECharacteristic::setValue(float data32) {
392
} // setValue
393
394
void BLECharacteristic::setValue(double data64) {
395
- setValue(reinterpret_cast<uint8_t *>(&data64), sizeof(data64));
+ setValue(reinterpret_cast<const uint8_t *>(&data64), sizeof(data64));
396
397
398
/**
0 commit comments