dgomes / homeGW

RF433Mhz decoding library
59 stars 15 forks source link

ISR_PREFIX #23

Closed danilkorotkov closed 3 years ago

danilkorotkov commented 3 years ago

HomeGW.cpp correction to

if defined(ESP8266)

#define ISR_PREFIX ICACHE_RAM_ATTR

elif defined(ESP32)

#define ISR_PREFIX IRAM_ATTR

else

#define ISR_PREFIX

endif

dgomes commented 3 years ago

can you open a PR :) ?

danilkorotkov commented 3 years ago

im a lazy nube )

danilkorotkov commented 3 years ago

https://github.com/danilkorotkov/Digoo-Homekit Used your lib. Many thanks)

dgomes commented 3 years ago

Good work :)

Still inviting you to open a Pull Request as I have no clue what needs to be corrected

danilkorotkov commented 3 years ago

I’m using GitHub as a file storage only, sorry) HomeGW.cpp Lines from 23 to 27 should be

if defined(ESP8266)

define ISR_PREFIX ICACHE_RAM_ATTR

elif defined(ESP32)

define ISR_PREFIX IRAM_ATTR

else

define ISR_PREFIX

endif