aboutsummaryrefslogtreecommitdiff
path: root/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/daemon.c b/daemon.c
index 601fc0f..00a55f6 100644
--- a/daemon.c
+++ b/daemon.c
@@ -112,10 +112,15 @@ static rpc_buffer_t ibuf, obuf;
#ifndef DEVICE
#define DEVICE "/dev/ttyUSB0"
#endif
+
#ifndef SPEED
#define SPEED B921600
#endif
+#ifndef B921600
+#define B921600 921600
+#endif
+
#ifndef SOCKET_NAME
#define SOCKET_NAME "/tmp/cryptechd.socket"
#endif