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 8dabc68 commit d9cc33fCopy full SHA for d9cc33f
libraries/BLE/src/BLECharacteristic.cpp
@@ -376,7 +376,7 @@ void BLECharacteristic::setValue(const String &value) {
376
} // setValue
377
378
void BLECharacteristic::setValue(uint16_t data16) {
379
- setValue(reinterpret_cast<uint8_t *>(&data16), sizeof(data16));
+ setValue(reinterpret_cast<const uint8_t *>(&data16), sizeof(data16));
380
381
382
void BLECharacteristic::setValue(uint32_t data32) {
0 commit comments