use AYSNC_POLLING_INTERVAL_MS to specify polling interval

This commit is contained in:
matthias.ringwald 2013-02-18 14:58:29 +00:00
parent 09da5c0ba4
commit 5515192db3

View File

@ -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;
}