summaryrefslogtreecommitdiff
path: root/camera.c
diff options
context:
space:
mode:
Diffstat (limited to 'camera.c')
-rw-r--r--camera.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camera.c b/camera.c
index 6cf94df..98e1798 100644
--- a/camera.c
+++ b/camera.c
@@ -111,8 +111,8 @@ int fd_openSerial(const char* device, int baud) {
/**
* Open a serial connection to the camera
*/
-int fd_openCam() {
- return fd_openSerial(TTY_PATH, CAM_BAUD_RATE);
+int fd_openCam(char* devPath) {
+ return fd_openSerial(devPath, CAM_BAUD_RATE);
}
/**