Skip to content

Commit

Permalink
updated buffer length
Browse files Browse the repository at this point in the history
  • Loading branch information
nic committed Jan 11, 2024
1 parent 85b4272 commit 87e5f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver_vive.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 87e5f5b

Please sign in to comment.