mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 15:27:33 +00:00
Note that later start time reads in the pass see the moved start
This commit is contained in:
@@ -651,6 +651,8 @@ class LoopBlockingGuard {
|
||||
/// nothing there. Main loop task only. The watchdog is not fed inside the
|
||||
/// scope, so the work must still finish within the watchdog timeout. Scopes
|
||||
/// may nest; the outermost one decides how much of the pass is left out.
|
||||
/// App.get_loop_component_start_time() reads later in the same pass return
|
||||
/// the moved start, so elapsed time across the scope needs millis().
|
||||
///
|
||||
/// void MyComponent::loop() {
|
||||
/// if (this->needs_key_) {
|
||||
|
||||
Reference in New Issue
Block a user