From 7b4d32325c506cd105979ede2a502d7ef15be392 Mon Sep 17 00:00:00 2001 From: pelmini Date: Wed, 7 Sep 2022 16:23:22 -0700 Subject: [PATCH] Fix power switch bug --- SystemReference/Gnc/Imu/Imu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SystemReference/Gnc/Imu/Imu.cpp b/SystemReference/Gnc/Imu/Imu.cpp index cd2d7ed..1160f27 100644 --- a/SystemReference/Gnc/Imu/Imu.cpp +++ b/SystemReference/Gnc/Imu/Imu.cpp @@ -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);