Skip to content

Commit fadd701

Browse files
committed
libnrfserialization: use correct alarm cancel api
1 parent 25a49c4 commit fadd701

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)