Dont run push when low on mem, avoid crash
This commit is contained in:
@ -271,7 +271,6 @@ void loopGravityOnInterval() {
|
||||
LOG_PERF_STOP("loop-gyro-read");
|
||||
myBatteryVoltage.read();
|
||||
checkSleepMode(myGyro.getAngle(), myBatteryVoltage.getVoltage());
|
||||
LOG_PERF_PUSH();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user