summaryrefslogtreecommitdiffstats
path: root/door_lock/serial.c
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2024-11-06 17:57:09 +0800
committerSadeep Madurange <sadeep@asciimx.com>2024-11-06 17:57:09 +0800
commite6c41b84b88596d130de98919480afdb0dce3fcf (patch)
treee65ec4dd6918057854ab833edfd6f51504bb2af6 /door_lock/serial.c
parent617474e23500edf91db1c35fc89d49f52a42afe7 (diff)
downloadsmart-home-e6c41b84b88596d130de98919480afdb0dce3fcf.tar.gz
Code clean up.
Diffstat (limited to 'door_lock/serial.c')
-rw-r--r--door_lock/serial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/door_lock/serial.c b/door_lock/serial.c
index 8a6cde2..0b9aecf 100644
--- a/door_lock/serial.c
+++ b/door_lock/serial.c
@@ -27,6 +27,7 @@ void serial_write_line(const char *s)
{
for (; *s; s++)
serial_write(*s);
+
serial_write('\r');
serial_write('\n');
}