Update DFRobotAS3935LightningSensorDetailed.ino

Added "IRAM_ATTR" to ISR definition
https://arduino-esp8266.readthedocs.io/en/latest/reference.html?highlight=IRAM_ATTR#digital-io
pull/4/head
mch3000 3 years ago committed by GitHub
parent ee688f17ce
commit 02a4d53cbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/DFRobotAS3935LightningSensorDetailed/DFRobotAS3935LightningSensorDetailed.ino

@ -128,7 +128,7 @@ void loop()
}
//IRQ handler for AS3935 interrupts
void AS3935_ISR()
void IRAM_ATTR AS3935_ISR()
{
AS3935IsrTrig = 1;
}

Loading…
Cancel
Save