summaryrefslogtreecommitdiffstats
path: root/examples/dbt_peripheral00.cpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-11-15 05:24:41 +0100
committerSven Gothel <[email protected]>2021-11-15 05:24:41 +0100
commit194195fdaad14eec8307a6fe6ae06faa18cf5a43 (patch)
tree7adca694ad72fe1ad0e5e69fabebc9a163fc00de /examples/dbt_peripheral00.cpp
parent1ce10a22624544aee38526f7fabf4598cd4324d1 (diff)
dbt_peripheral00: Drop virtual on override; DBTPeripheral00: Drop overriding finalize() and call super.close() on close()
Diffstat (limited to 'examples/dbt_peripheral00.cpp')
-rw-r--r--examples/dbt_peripheral00.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dbt_peripheral00.cpp b/examples/dbt_peripheral00.cpp
index 331ca0e1..fbfdfe7a 100644
--- a/examples/dbt_peripheral00.cpp
+++ b/examples/dbt_peripheral00.cpp
@@ -417,7 +417,7 @@ class MyGATTServerListener : public DBGattServer::Listener {
}
}
- virtual void mtuChanged(BTDeviceRef device, const uint16_t mtu) override {
+ void mtuChanged(BTDeviceRef device, const uint16_t mtu) override {
const bool match = matches(device);
fprintf_td(stderr, "****** GATT::mtuChanged(match %d): %d -> %d, %s\n",
match, match ? (int)usedMTU : 0, (int)mtu, device->toString().c_str());