Skip to content

Commit

Permalink
Merge pull request #471 from tock/quick-alarm-fix
Browse files Browse the repository at this point in the history
libnrfserialization: use correct alarm cancel api
  • Loading branch information
ppannuto authored Oct 30, 2024
2 parents 25a49c4 + fadd701 commit 13fe2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libnrfserialization/serialization_tock.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ void ble_serialization_callback (int callback_type, int rx_len, int c, void* oth

// Got a response, cancel any pending timer
if (_timeout_timer != NULL) {
libtock_alarm_cancel(_timeout_timer);
libtock_alarm_ms_cancel(_timeout_timer);
free(_timeout_timer);
_timeout_timer = NULL;
}
Expand Down

0 comments on commit 13fe2da

Please sign in to comment.