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

@@ -1,4 +1,5 @@
#include "SystemCommandsModule.h"
#include "input/InputBroker.h"
#include "meshUtils.h"
#if HAS_SCREEN
#include "graphics/Screen.h"
@@ -22,7 +23,7 @@ SystemCommandsModule::SystemCommandsModule()
int SystemCommandsModule::handleInputEvent(const InputEvent *event)
{
LOG_INFO("Input event %u! kb %u", event->inputEvent, event->kbchar);
LOG_INPUT("SystemCommands Input event %u! kb %u", event->inputEvent, event->kbchar);
// System commands (all others fall through)
switch (event->kbchar) {
// Fn key symbols