Skip to content

Commit bc3e333

Browse files
authored
Use IRAM_ATTR in place of ICACHE_RAM_ATTR
esp8266/Arduino#7921
1 parent 7c6394a commit bc3e333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ DNSServer dnsServer;
2525
WebServer server(80);
2626
IotWebConf iotWebConf(devName.get(), &dnsServer, &server, wifiInitialApPassword, CONFIG_VERSION);
2727

28-
ICACHE_RAM_ATTR void onFanRotation() {
28+
IRAM_ATTR void onFanRotation() {
2929
unsigned long now = millis();
3030
//logger.printf("onFanRotation: %ul %ul\n", lastTrigger, now);
3131
reportTimer += now-lastTrigger;

0 commit comments

Comments
 (0)