summaryrefslogtreecommitdiffstats
path: root/dong.c
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-04-11 10:59:15 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-04-11 10:59:15 +0800
commit7b9d39da831a6454eb0eb57bbfa86ff2d615d287 (patch)
treeee9bb12e41941d6d0aed70bc0120acc22a143c8b /dong.c
parent081e11b460f71ce99e69604e9ffe16f5d667f84b (diff)
downloadavr-nrf24l01-driver-7b9d39da831a6454eb0eb57bbfa86ff2d615d287.tar.gz
Clear maxrt and minor code cleanup, still working.
Diffstat (limited to 'dong.c')
-rw-r--r--dong.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dong.c b/dong.c
index 70006dc..1ef872f 100644
--- a/dong.c
+++ b/dong.c
@@ -14,7 +14,7 @@
#define RX_PCMSK PCMSK2
#define RX_PCINTVEC PCINT2_vect
-static int rxdr = 0;
+static volatile int rxdr = 0;
int main(void)
{