summaryrefslogtreecommitdiffstats
path: root/rf_test/recv.c
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2024-12-14 12:40:38 +0800
committerSadeep Madurange <sadeep@asciimx.com>2024-12-14 12:40:38 +0800
commitc69d3b4fffc543fe04e114222a8e225f476559aa (patch)
treee3e263056d45031995984a39344053d976084f57 /rf_test/recv.c
parent7ae63d313dd5bb23c92bd45cc923afaae329d132 (diff)
downloadsmart-home-c69d3b4fffc543fe04e114222a8e225f476559aa.tar.gz
wip: inline standby()
Diffstat (limited to 'rf_test/recv.c')
-rw-r--r--rf_test/recv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rf_test/recv.c b/rf_test/recv.c
index 47b8b7e..0b07144 100644
--- a/rf_test/recv.c
+++ b/rf_test/recv.c
@@ -1,4 +1,3 @@
-#include <string.h>
#include <avr/io.h>
#include <avr/interrupt.h>
@@ -16,7 +15,7 @@
#define MAX_PAYLOAD_LEN 60
static char *s = "hello, world!";
-static uint8_t slen = strlen(s);
+static uint8_t slen = 13;
int main(void)
{