1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-12 08:12:22 +01:00

Implement InterruptLock for RP2040 (#3945)

This commit is contained in:
Jesse Hills
2022-10-26 16:41:51 +13:00
committed by GitHub
parent f2c4f018de
commit f97252b93a
2 changed files with 7 additions and 4 deletions

View File

@@ -542,8 +542,8 @@ class InterruptLock {
~InterruptLock();
protected:
#ifdef USE_ESP8266
uint32_t xt_state_;
#if defined(USE_ESP8266) || defined(USE_RP2040)
uint32_t state_;
#endif
};