mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-23 17:37:22 +00:00
nimble/ll: Remove redundant variable in local scope
This commit is contained in:
@@ -2080,7 +2080,6 @@ ble_ll_conn_next_event(struct ble_ll_conn_sm *connsm)
|
||||
connsm->anchor_point += connsm->conn_itvl_ticks;
|
||||
connsm->anchor_point_usecs += connsm->conn_itvl_usecs;
|
||||
} else {
|
||||
uint32_t ticks;
|
||||
ticks = os_cputime_usecs_to_ticks(itvl);
|
||||
connsm->anchor_point += ticks;
|
||||
connsm->anchor_point_usecs += (itvl - os_cputime_ticks_to_usecs(ticks));
|
||||
|
||||
Reference in New Issue
Block a user