From 87e5f5bba82e35e44d38a5d14e17b353309a5b91 Mon Sep 17 00:00:00 2001 From: nic <> Date: Thu, 11 Jan 2024 14:28:06 +0000 Subject: [PATCH] updated buffer length --- src/driver_vive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver_vive.c b/src/driver_vive.c index 81b1f5cc..f45dc930 100755 --- a/src/driver_vive.c +++ b/src/driver_vive.c @@ -568,7 +568,7 @@ void vive_switch_mode(struct SurviveUSBInfo *driverInfo, enum LightcapMode light SurviveObject *w = driverInfo->so; if (driverInfo->timeWithoutFlag == 0) { driverInfo->timeWithoutFlag = 1; - uint8_t buffer[9] = {0}; + uint8_t buffer[64] = {0}; size_t buffer_length = 0; if (survive_device_is_rf(driverInfo->device_info)) { buffer[0] = VIVE_REPORT_COMMAND;