mirror of
https://github.com/meshtastic/firmware.git
synced 2026-09-29 01:36:26 -04:00
Add LOG_POWERFSM and LOG_INPUT debug macros (#8791)
This commit is contained in:
1 parent
2f0fe4e5da
commit
94db3506bd
5 files changed
+30
-16
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user