Add LOG_POWERFSM and LOG_INPUT debug macros (#8791)

This commit is contained in:
Jonathan Bennett
2025-11-28 19:58:52 -06:00
committed by GitHub
parent 2f0fe4e5da
commit 94db3506bd
5 changed files with 30 additions and 16 deletions

View File

@@ -2,6 +2,12 @@
#include "configuration.h"
#ifdef PowerFSMDebug
#define LOG_POWERFSM(...) LOG_DEBUG(__VA_ARGS__)
#else
#define LOG_POWERFSM(...)
#endif
// See sw-design.md for documentation
#define EVENT_PRESS 1