mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 12:35:25 +00:00
use AYSNC_POLLING_INTERVAL_MS to specify polling interval
This commit is contained in:
parent
09da5c0ba4
commit
5515192db3
@ -436,7 +436,7 @@ static int usb_open(void *transport_config){
|
||||
log_info("Async using timers:\n");
|
||||
|
||||
usb_timer.process = usb_process_ts;
|
||||
run_loop_set_timer(&usb_timer, 100);
|
||||
run_loop_set_timer(&usb_timer, AYSNC_POLLING_INTERVAL_MS);
|
||||
run_loop_add_timer(&usb_timer);
|
||||
usb_timer_active = 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user