diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2024-11-06 17:57:09 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2024-11-06 17:57:09 +0800 |
| commit | e6c41b84b88596d130de98919480afdb0dce3fcf (patch) | |
| tree | e65ec4dd6918057854ab833edfd6f51504bb2af6 /door_lock/serial.c | |
| parent | 617474e23500edf91db1c35fc89d49f52a42afe7 (diff) | |
| download | smart-home-e6c41b84b88596d130de98919480afdb0dce3fcf.tar.gz | |
Code clean up.
Diffstat (limited to 'door_lock/serial.c')
| -rw-r--r-- | door_lock/serial.c | 1 |
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'); } |
