drop virtual from onDataWritten()

This commit is contained in:
Rohit Grover 2014-12-01 08:39:03 +00:00
parent fe765b0191
commit e5bd170d5d

View file

@ -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. */