diff options
| author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2017-12-04 22:48:39 -0800 |
|---|---|---|
| committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2017-12-04 22:48:39 -0800 |
| commit | d7d2032993e49c9d8cfa0fdbd810a3e35d8e8f27 (patch) | |
| tree | 18e35aef2662a25d4db5bbbdd5a6ff52a7e56e98 /camera.h | |
| parent | c4bbe15aa76bbb82b679555cc23f584c7bdf3445 (diff) | |
Rename serial defines
Diffstat (limited to 'camera.h')
| -rw-r--r-- | camera.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
