We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 224e07f commit 7aa6fcdCopy full SHA for 7aa6fcd
projects/art_pi_factory/packages/btstack-v0.0.1/platform/posix/btstack_run_loop_posix.c
@@ -186,7 +186,7 @@ static uint32_t btstack_run_loop_posix_get_time_ms(void){
186
clock_gettime(CLOCK_MONOTONIC, &now_ts);
187
time_ms = (uint32_t) timespec_diff_milis(&init_ts, &now_ts);
188
#else
189
- time_ms = rt_tick_get()*1000/RT_TICK_PER_SECOND;
+ time_ms = rt_tick_get()*1000ULL/RT_TICK_PER_SECOND;
190
#endif
191
return time_ms;
192
}
0 commit comments