mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-30 02:15:41 +00:00
improve logging
This commit is contained in:
parent
6e41f46df2
commit
46f2a62186
@ -196,7 +196,7 @@ static void nbEnter()
|
||||
|
||||
static void darkEnter()
|
||||
{
|
||||
// LOG_DEBUG("State: DARK");
|
||||
// LOG_DEBUG("State: DARK"); i
|
||||
setBluetoothEnable(true);
|
||||
if (screen)
|
||||
screen->setOn(false);
|
||||
@ -293,7 +293,7 @@ void PowerFSM_setup()
|
||||
#else
|
||||
stateIDLE = &stateDARK;
|
||||
#endif
|
||||
LOG_INFO("PowerFSM init, USB power=%d", hasPower ? 1 : 0);
|
||||
LOG_INFO("PowerFSM init, USB power=%d, is_power_saving=%d", hasPower ? 1 : 0, config.power.is_power_saving ? 1 : 0);
|
||||
|
||||
powerFSM.add_timed_transition(&stateBOOT, hasPower ? &statePOWER : &stateON, 3 * 1000, NULL, "boot timeout");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user