mirror of
https://github.com/esphome/esphome.git
synced 2025-07-29 14:46:40 +00:00
commit
de0656a188
2
Doxyfile
2
Doxyfile
@ -48,7 +48,7 @@ PROJECT_NAME = ESPHome
|
|||||||
# could be handy for archiving the generated documentation or if some version
|
# could be handy for archiving the generated documentation or if some version
|
||||||
# control system is used.
|
# control system is used.
|
||||||
|
|
||||||
PROJECT_NUMBER = 2025.7.0b4
|
PROJECT_NUMBER = 2025.7.0b5
|
||||||
|
|
||||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||||
# for a project that appears at the top of each page and should give viewer a
|
# for a project that appears at the top of each page and should give viewer a
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
#include "esphome/core/component.h"
|
#include "esphome/core/component.h"
|
||||||
#include "esphome/components/as3935/as3935.h"
|
#include "esphome/components/as3935/as3935.h"
|
||||||
#include "esphome/components/spi/spi.h"
|
#include "esphome/components/spi/spi.h"
|
||||||
#include "esphome/components/sensor/sensor.h"
|
|
||||||
#include "esphome/components/binary_sensor/binary_sensor.h"
|
|
||||||
|
|
||||||
namespace esphome {
|
namespace esphome {
|
||||||
namespace as3935_spi {
|
namespace as3935_spi {
|
||||||
|
@ -4,7 +4,7 @@ from enum import Enum
|
|||||||
|
|
||||||
from esphome.enum import StrEnum
|
from esphome.enum import StrEnum
|
||||||
|
|
||||||
__version__ = "2025.7.0b4"
|
__version__ = "2025.7.0b5"
|
||||||
|
|
||||||
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
||||||
VALID_SUBSTITUTIONS_CHARACTERS = (
|
VALID_SUBSTITUTIONS_CHARACTERS = (
|
||||||
|
@ -309,6 +309,12 @@ void Application::disable_component_loop_(Component *component) {
|
|||||||
if (this->in_loop_ && i == this->current_loop_index_) {
|
if (this->in_loop_ && i == this->current_loop_index_) {
|
||||||
// Decrement so we'll process the swapped component next
|
// Decrement so we'll process the swapped component next
|
||||||
this->current_loop_index_--;
|
this->current_loop_index_--;
|
||||||
|
// Update the loop start time to current time so the swapped component
|
||||||
|
// gets correct timing instead of inheriting stale timing.
|
||||||
|
// This prevents integer underflow in timing calculations by ensuring
|
||||||
|
// the swapped component starts with a fresh timing reference, avoiding
|
||||||
|
// errors caused by stale or wrapped timing values.
|
||||||
|
this->loop_component_start_time_ = millis();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user