1
0
forked from me/IronOS

Update shouldDeviceSleep.cpp

This commit is contained in:
Ben V. Brown
2022-11-22 18:25:57 +11:00
parent da6b780941
commit 124c3ecade

View File

@@ -1,5 +1,9 @@
#include "Buttons.hpp"
#include "OperatingModeUtilities.h"
TickType_t lastHallEffectSleepStart = 0;
extern TickType_t lastMovementTime;
bool shouldBeSleeping(bool inAutoStart) {
#ifndef NO_SLEEP_MODE
// Return true if the iron should be in sleep mode