d/survive: Increase device detection timeout

With libsurvive 20127ef1bbb9206c9b429de47b891fc71d9df355 it can take a bit longer for devices to appear.
This commit is contained in:
Christoph Haag 2021-04-08 19:34:39 +02:00
parent ac1acfa7d4
commit 08e39a1a0e

View file

@ -46,7 +46,7 @@
// reading usb config takes libsurvive about 50ms per device
// to be safe, we wait 500 ms after the last device has been initialized
#define WAIT_TIMEOUT 0.5f
#define WAIT_TIMEOUT .75f
// index in sys->controllers[] array
#define SURVIVE_LEFT_CONTROLLER_INDEX 0