From 698a11fdbe7f7043e7fad853ba5b021b6b500c82 Mon Sep 17 00:00:00 2001 From: Nick Van Doorn Date: Thu, 9 Nov 2017 12:00:17 -0800 Subject: Code review bug fixes --- camera.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camera.h') diff --git a/camera.h b/camera.h index 2ef0f03..8d342d7 100644 --- a/camera.h +++ b/camera.h @@ -56,7 +56,7 @@ void delay (unsigned int msecs); int openCameraFd (); void sendCommand (Camera *cam, uint8_t cmd, uint8_t args[]); bool runCommand (Camera *cam, uint8_t cmd, uint8_t args[], int respLen); -uint8_t readResponse (Camera *cam, int nBytes, unsigned int timeout); +uint8_t readResponse (Camera *cam, unsigned int nBytes, unsigned int timeout); bool verifyResponse (Camera *cam, uint8_t cmd); bool cameraFrameBuffCtrl (Camera *cam, uint8_t cmd); bool takePicture (Camera *cam); -- cgit v1.2.3