Skip to content

Commit a9eab2f

Browse files
vlucenth2zero
authored andcommitted
fix infinite recursion bug for ticks to ms conversion
1 parent edf1b9e commit a9eab2f

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
@@ -651,7 +651,7 @@ ble_npl_time_ms_to_ticks(uint32_t ms, ble_npl_time_t *out_ticks)
651651
static inline ble_npl_error_t
652652
ble_npl_time_ticks_to_ms(ble_npl_time_t ticks, uint32_t *out_ms)
653653
{
654-
return ble_npl_time_ticks_to_ms(ticks, out_ms);
654+
return npl_freertos_time_ticks_to_ms(ticks, out_ms);
655655
}
656656

657657
static inline ble_npl_time_t

0 commit comments

Comments
 (0)