From afa2ca1e70c71c0327eca32d10a2a150755c0c59 Mon Sep 17 00:00:00 2001 From: tuniii <23635855+tuniii@users.noreply.github.com> Date: Tue, 21 May 2024 22:26:37 +0200 Subject: [PATCH] Add override keyword --- src/BleTemperatureMeater.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/BleTemperatureMeater.h b/src/BleTemperatureMeater.h index be5dfff..e22cb23 100644 --- a/src/BleTemperatureMeater.h +++ b/src/BleTemperatureMeater.h @@ -29,10 +29,12 @@ class BLEClientCharacteristicMeater : public BLEClientCharacteristic { public: BLEClientCharacteristicMeater(BLEUuid bleuuid) : BLEClientCharacteristic(bleuuid){}; - bool writeCCCD(uint16_t value) + bool writeCCCD(uint16_t value) override { const uint16_t conn_handle = _service->connHandle(); + return false; + ble_gattc_write_params_t param = { .write_op = BLE_GATT_OP_WRITE_REQ,