Fix crash when no hand tracking or controllers

This commit is contained in:
Supreeeme 2022-07-31 17:09:19 -04:00
parent 72ff5cab80
commit 501d2c4fd5

View file

@ -232,12 +232,14 @@ lighthouse_hand_track(struct u_system_devices *usysd,
}
LH_INFO("Hand tracker successfully created\n");
#endif
*out_sinks = sinks;
out_devices[0] = two_hands[0];
out_devices[1] = two_hands[1];
return true;
#endif
return false;
}
/*