Skip to content

Commit 3365e94

Browse files
vlucenth2zero
authored andcommitted
fix infinite recursion bug for ticks to ms conversion
1 parent f66f4fe commit 3365e94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nimble/porting/npl/freertos/include/nimble/nimble_npl_os.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ ble_npl_time_ms_to_ticks(uint32_t ms, ble_npl_time_t *out_ticks)
653653
static inline ble_npl_error_t
654654
ble_npl_time_ticks_to_ms(ble_npl_time_t ticks, uint32_t *out_ms)
655655
{
656-
return ble_npl_time_ticks_to_ms(ticks, out_ms);
656+
return npl_freertos_time_ticks_to_ms(ticks, out_ms);
657657
}
658658

659659
static inline ble_npl_time_t

0 commit comments

Comments
 (0)