diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2017-11-02 13:46:14 -0700 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2017-11-02 13:46:14 -0700 |
commit | 5a03ac2d414ee089958ba33bea586407acba4760 (patch) | |
tree | a0b4665e5364d769e75bde247d397f827adc47c6 /camera.c | |
parent | 902b3afcff92ed2e07036f0b55a456112d608ac9 (diff) |
Fix args
Diffstat (limited to 'camera.c')
-rw-r--r-- | camera.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -116,16 +116,16 @@ byte *readPicture (Camera *cam); bool resumeVideo (Camera *cam); uint32_t frameLength (Camera *cam); char *getVersion (Camera *cam); -uint8_t available(); -uint8_t getDownsize(void); -bool setDownsize(uint8_t); +byte available (Camera *cam); +byte getDownsize (Camera *cam); +bool setDownsize(Camera *cam, int newSize); int getImageSize (Camera *cam); bool setImageSize (Camera *cam, int size); bool getMotionDetect (Camera *cam); byte getMotionStatus(Camera *cam, byte x); bool motionDetected (Camera *cam); -bool setMotionDetect (bool flag); -bool setMotionStatus (byte x, byte d1, byte d2); +bool setMotionDetect (Camera *cam, bool flag); +bool setMotionStatus (Camera *cam, byte x, byte d1, byte d2); byte getCompression (Camera *cam); bool setCompression(Camera *cam, byte c); bool getPTZ(Camera *cam, uint16_t *w, uint16_t *h, uint16_t *wz, uint16_t *hz, uint16_t *pan, uint16_t *tilt); |