Skip to content

Commit

Permalink
Fix missing break statement noticed by Funnbot in Discord. (#26)
Browse files Browse the repository at this point in the history
This bug would cause the tracker to not actually be disconnected from
steamvr.
  • Loading branch information
kitlith committed Aug 31, 2022
1 parent 1867d16 commit 029a586
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TrackerDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ void SlimeVRDriver::TrackerDevice::StatusMessage(messages::TrackerStatus &status
case messages::TrackerStatus_Status_DISCONNECTED:
pose.deviceIsConnected = false;
pose.poseIsValid = false;
break;
default:
case messages::TrackerStatus_Status_ERROR:
case messages::TrackerStatus_Status_BUSY:
Expand Down

0 comments on commit 029a586

Please sign in to comment.