Skip to content

Commit

Permalink
Fix for Zero
Browse files Browse the repository at this point in the history
Signed-off-by: Sara Damiano <[email protected]>
  • Loading branch information
SRGDamia1 committed Sep 17, 2024
1 parent 8a22e90 commit 2bcb001
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions continuous_integration/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ lib_ignore =
Adafruit TouchScreen
Adafruit ILI9341
build_flags =
-Wall
-Wextra
-D SDI12_EXTERNAL_PCINT
-D NEOSWSERIAL_EXTERNAL_PCINT
Expand Down
2 changes: 2 additions & 0 deletions src/ModSensorInterrupts.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#ifndef SRC_MODSENSORINTERRUPTS_H_
#define SRC_MODSENSORINTERRUPTS_H_

#include <Arduino.h>

#if defined(__AVR__)
// #define LIBCALL_ENABLEINTERRUPT // To prevent compiler/linker crashes
#include <EnableInterrupt.h> // To handle external and pin change interrupts
Expand Down

0 comments on commit 2bcb001

Please sign in to comment.