Skip to content

Commit

Permalink
Added keepRunning
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerCode committed Jan 17, 2024
1 parent 383188e commit 584e5a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#define PIN_3 21
#define HTTP_PORT 8080

volatile sig_atomic_t keepRunning = 1;

void intHandler(int dummy) {
keepRunning = 0;
}
Expand Down

0 comments on commit 584e5a2

Please sign in to comment.