rsciriano / ESPHome-OpenTherm

Example of how to control an opentherm boiler with esphome
156 stars 44 forks source link

Error while compiling; simple fix #47

Closed davidrustingha closed 1 year ago

davidrustingha commented 1 year ago

I got an error while compiling an update in ESPhome. In opentherm_component.h

ICACHE_RAM_ATTR void handleInterrupt() {
    ot.handleInterrupt();
}

should be changed to

IRAM_ATTR void handleInterrupt() {
    ot.handleInterrupt();
}

The above did not throw any errors.

Chupaka commented 1 year ago

https://github.com/rsciriano/ESPHome-OpenTherm/pull/51

rsciriano commented 1 year ago

Fixed on #51, thank you @Chupaka!