Skip to content

Commit 13fe2da

Browse files
authored
Merge pull request #471 from tock/quick-alarm-fix
libnrfserialization: use correct alarm cancel api
2 parents 25a49c4 + fadd701 commit 13fe2da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libnrfserialization/serialization_tock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ void ble_serialization_callback (int callback_type, int rx_len, int c, void* oth
148148

149149
// Got a response, cancel any pending timer
150150
if (_timeout_timer != NULL) {
151-
libtock_alarm_cancel(_timeout_timer);
151+
libtock_alarm_ms_cancel(_timeout_timer);
152152
free(_timeout_timer);
153153
_timeout_timer = NULL;
154154
}

0 commit comments

Comments
 (0)