diff --git a/services/URIBeacon2Service.h b/services/URIBeacon2Service.h index 005bd9b..dc2db11 100644 --- a/services/URIBeacon2Service.h +++ b/services/URIBeacon2Service.h @@ -264,7 +264,7 @@ private: return encodedBytes; } - virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) { + void onDataWritten(const GattCharacteristicWriteCBParams *params) { if (params->charHandle == uriDataChar.getValueAttribute().getHandle()) { if (lockedState) { /* When locked, the device isn't allowed to update the uriData characteristic. */ /* Restore GATT database with previous value. */