mirror of
https://github.com/thelsing/knx.git
synced 2025-05-16 01:16:18 +02:00
Merge pull request #313 from Phil1pp/esp-compiler-warning
Fix ESP compiler warning
This commit is contained in:
commit
8235e59d84
@ -11,8 +11,8 @@
|
||||
defined(ARDUINO_ARCH_RP2040))
|
||||
|
||||
// Only ESP8266 and ESP32 have this define. For all other platforms this is just empty.
|
||||
#ifndef ICACHE_RAM_ATTR
|
||||
#define ICACHE_RAM_ATTR
|
||||
#ifndef IRAM_ATTR
|
||||
#define IRAM_ATTR
|
||||
#endif
|
||||
|
||||
#ifndef PROG_BTN_PRESS_MIN_MILLIS
|
||||
@ -24,7 +24,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
ICACHE_RAM_ATTR void buttonEvent()
|
||||
IRAM_ATTR void buttonEvent()
|
||||
{
|
||||
static uint32_t lastEvent = 0;
|
||||
static uint32_t lastPressed = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user