Skip to content

Commit

Permalink
Add override keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
tuniii committed May 21, 2024
1 parent a4e007a commit afa2ca1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/BleTemperatureMeater.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit afa2ca1

Please sign in to comment.