summaryrefslogtreecommitdiffstats
path: root/lock/fend.c
diff options
context:
space:
mode:
Diffstat (limited to 'lock/fend.c')
-rw-r--r--lock/fend.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lock/fend.c b/lock/fend.c
index e44155b..cae6a94 100644
--- a/lock/fend.c
+++ b/lock/fend.c
@@ -45,11 +45,10 @@ static inline void init_btns(void)
int main(void)
{
- uint8_t n;
uint8_t rxaddr[ADDRLEN] = { 194, 178, 82 };
uint8_t txaddr[ADDRLEN] = { 194, 178, 83 };
- char buf[WDLEN + 1], key[WDLEN + 1];
+ char buf[WDLEN], key[WDLEN];
init_rx();
init_btns();