1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-11-15 14:08:25 +00:00

esp8266 wants ICACHE_RAM_ATTR

This commit is contained in:
Stephen Crane 2020-07-08 14:33:52 +01:00
parent b65ef6bff4
commit c45db2e8ee

View File

@ -10,6 +10,9 @@ static volatile uint8_t head, tail;
static uint8_t DataPin;
// The ISR for the external interrupt
#if defined(ESP32) || defined(ESP8266)
ICACHE_RAM_ATTR
#endif
void ps2interrupt(void)
{
static uint8_t bitcount=0;