mirror of
https://github.com/esphome/esphome.git
synced 2026-07-11 09:25:34 +00:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -35,7 +35,7 @@ bool random_bytes(uint8_t *data, size_t len) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// RP2040 Mutex is defined inline in helpers.h when ESPHOME_THREAD_SINGLE is set.
|
||||
// RP2040 Mutex is defined inline in helpers.h for RP2040/ESP8266 builds.
|
||||
|
||||
IRAM_ATTR InterruptLock::InterruptLock() { state_ = save_and_disable_interrupts(); }
|
||||
IRAM_ATTR InterruptLock::~InterruptLock() { restore_interrupts(state_); }
|
||||
|
||||
Reference in New Issue
Block a user