Dont run push when low on mem, avoid crash

This commit is contained in:
Magnus Persson
2022-01-24 07:34:34 +01:00
parent 49f166cc67
commit 1d113e6941
3 changed files with 19 additions and 4 deletions

View File

@ -271,7 +271,6 @@ void loopGravityOnInterval() {
LOG_PERF_STOP("loop-gyro-read");
myBatteryVoltage.read();
checkSleepMode(myGyro.getAngle(), myBatteryVoltage.getVoltage());
LOG_PERF_PUSH();
}
}