mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-19 15:40:52 +00:00
fix signature
This commit is contained in:
parent
e518c4b890
commit
6929d1c0d1
@ -185,7 +185,7 @@ void posix_execute(void) {
|
||||
}
|
||||
|
||||
// set timer
|
||||
void run_loop_set_timer(timer_source_t *a, int timeout_in_ms){
|
||||
void run_loop_set_timer(timer_source_t *a, uint32_t timeout_in_ms){
|
||||
gettimeofday(&a->timeout, NULL);
|
||||
a->timeout.tv_sec += timeout_in_ms / 1000;
|
||||
a->timeout.tv_usec += (timeout_in_ms % 1000) * 1000;
|
||||
|
Loading…
x
Reference in New Issue
Block a user