Skip to content

Commit

Permalink
Fix power switch bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pelmini authored and LeStarch committed Sep 7, 2022
1 parent 1893415 commit 7b4d323
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SystemReference/Gnc/Imu/Imu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ void Imu::power(PowerState powerState){
case PowerState::OFF:
// Enables sleep mode
data[1] = 0x40;
m_power = false;
break;
default:
FW_ASSERT(0);
Expand Down

0 comments on commit 7b4d323

Please sign in to comment.