summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2017-12-04 22:48:39 -0800
committerNick Van Doorn <vandoorn.nick@gmail.com>2017-12-04 22:48:39 -0800
commitd7d2032993e49c9d8cfa0fdbd810a3e35d8e8f27 (patch)
tree18e35aef2662a25d4db5bbbdd5a6ff52a7e56e98
parentc4bbe15aa76bbb82b679555cc23f584c7bdf3445 (diff)
Rename serial defines
-rw-r--r--camera.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/camera.h b/camera.h
index fcec651..38c591f 100644
--- a/camera.h
+++ b/camera.h
@@ -43,10 +43,10 @@
#define CAM_BUFF_SIZE 200
#define CAM_BLOCK_SIZE 32
#define CAM_DELAY 10
-#define CAM_TIMEOUT 10
#define CAM_SERIAL 0
+#define TTY_TIMEOUT 10
-static const char SERIAL_PATH[] = "/dev/ttyHS0";
+static const char TTY_PATH[] = "/dev/ttyHS0";
typedef struct {
int fd; // file descriptor for the serial port