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:
J. Nick Koston
2026-03-12 21:17:37 -10:00
committed by GitHub
parent 0d503db403
commit fdb5c4c5ca
+1 -1
View File
@@ -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_); }