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, 3 insertions, 0 deletions
diff --git a/lock/fend.c b/lock/fend.c
index 37ca6d7..1f053b5 100644
--- a/lock/fend.c
+++ b/lock/fend.c
@@ -10,6 +10,7 @@
#include "nrfm.h"
#include "util.h"
+#include "uart.h"
#define LOCK_PIN PD2
#define UNLOCK_PIN PD3
@@ -80,6 +81,8 @@ int main(void)
char buf[WDLEN], key[WDLEN];
wdt_off();
+ uart_init();
+
init_rx();
init_leds();
init_btns();