summaryrefslogtreecommitdiffstats
path: root/dong.c
diff options
context:
space:
mode:
Diffstat (limited to 'dong.c')
-rw-r--r--dong.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dong.c b/dong.c
index cdf1f08..308d3ab 100644
--- a/dong.c
+++ b/dong.c
@@ -48,6 +48,9 @@ int main(void)
uart_write("INFO: ");
uart_write_line(buf);
}
+ if (strncmp(buf, "SYN", 3) == 0) {
+ radio_sendto(txaddr, "ACK", 3);
+ }
}
//_delay_ms(1000);