mirror of
https://github.com/esphome/esphome.git
synced 2025-10-25 05:03:52 +01:00
[nrf52, core] nrf52 core based on zephyr (#7049)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: Samuel Sieb <samuel-github@sieb.net> Co-authored-by: Tomasz Duda <tomaszduda23@gmai.com> Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <cmath>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
@@ -678,7 +679,7 @@ class InterruptLock {
|
||||
~InterruptLock();
|
||||
|
||||
protected:
|
||||
#if defined(USE_ESP8266) || defined(USE_RP2040)
|
||||
#if defined(USE_ESP8266) || defined(USE_RP2040) || defined(USE_ZEPHYR)
|
||||
uint32_t state_;
|
||||
#endif
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user