Update DFRobotAS3935LightningSensorDetailed.ino

pull/4/head
mch3000 3 years ago committed by GitHub
parent 74895cb63c
commit a870e23d53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      examples/DFRobotAS3935LightningSensorDetailed/DFRobotAS3935LightningSensorDetailed.ino

@ -128,7 +128,11 @@ void loop()
} }
//IRQ handler for AS3935 interrupts //IRQ handler for AS3935 interrupts
#if defined(ESP32) || defined(ESP8266)
void IRAM_ATTR AS3935_ISR() void IRAM_ATTR AS3935_ISR()
#else
void AS3935_ISR()
#endif
{ {
AS3935IsrTrig = 1; AS3935IsrTrig = 1;
} }

Loading…
Cancel
Save