Add Shutdown and reboot to CardKB and friends (#3487)

* Add Shutdown and reboot to CardKB and friends

* aw shucks
This commit is contained in:
Thomas Göttgens
2024-03-24 13:41:45 -05:00
committed by GitHub
co-authored by GitHub
parent 5f529f7ca3
commit b960dc1b41
4 changed files with 24 additions and 2 deletions
+8
View File
@@ -161,6 +161,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
also enable HAS_ option not specifically disabled by variant.h */
#include "architecture.h"
#ifndef DEFAULT_REBOOT_SECONDS
#define DEFAULT_REBOOT_SECONDS 7
#endif
#ifndef DEFAULT_SHUTDOWN_SECONDS
#define DEFAULT_SHUTDOWN_SECONDS 2
#endif
/* Step #3: mop up with disabled values for HAS_ options not handled by the above two */
// -----------------------------------------------------------------------------