summaryrefslogtreecommitdiffstats
path: root/recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'recv.c')
-rw-r--r--recv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/recv.c b/recv.c
index 5f551be..efff67e 100644
--- a/recv.c
+++ b/recv.c
@@ -36,8 +36,6 @@ int main(void)
for (;;) {
if (rxdr) {
- cli();
-
n = radio_recv(buf, MAXPDLEN);
buf[n] = '\0';
rxdr = 0;
@@ -55,5 +53,6 @@ int main(void)
ISR(RX_PCINTVEC)
{
+ cli();
rxdr = 1;
}