mirror of
https://github.com/esphome/esphome.git
synced 2025-09-25 06:32:22 +01:00
[debug] Show source of last software reboot (#8595)
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#include "scheduler.h"
|
||||
|
||||
#include "application.h"
|
||||
#include "esphome/core/defines.h"
|
||||
#include "esphome/core/log.h"
|
||||
#include "esphome/core/helpers.h"
|
||||
@@ -215,6 +217,7 @@ void HOT Scheduler::call() {
|
||||
this->pop_raw_();
|
||||
continue;
|
||||
}
|
||||
App.set_current_component(item->component);
|
||||
|
||||
#ifdef ESPHOME_DEBUG_SCHEDULER
|
||||
ESP_LOGV(TAG, "Running %s '%s/%s' with interval=%" PRIu32 " next_execution=%" PRIu64 " (now=%" PRIu64 ")",
|
||||
|
Reference in New Issue
Block a user