Skip to content

Commit

Permalink
update LinkLossService with changes to GattWriteCallbackParams
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Grover committed Jul 2, 2015
1 parent 417b857 commit 4ac9700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ble/services/LinkLossService.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class LinkLossService {
* Information about the characterisitc being updated.
*/
virtual void onDataWritten(const GattWriteCallbackParams *params) {
if (params->charHandle == alertLevelChar.getValueHandle()) {
if (params->handle == alertLevelChar.getValueHandle()) {
alertLevel = *reinterpret_cast<const AlertLevel_t *>(params->data);
}
}
Expand Down

0 comments on commit 4ac9700

Please sign in to comment.