diff options
| author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2017-12-01 12:39:35 -0800 |
|---|---|---|
| committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2017-12-01 12:39:35 -0800 |
| commit | b07199e5e71778e0e6dacd579a37962b457b227d (patch) | |
| tree | 1b7018b6fd957865703041a414572ecfa2c9830c /README.md | |
| parent | c199df19df6af15ea43e6e59e9212e11436753c8 (diff) | |
Fix sizeof args bug & cleanup
Turns out uint8_t is passed by reference by default since it's just a
typedef for char. As a result the length of args cannot be computed in
runCommand. The caller is now responsible for computing the number of
args and then passing them to runCommand
openCameraFd now returns the result and writes the file descriptor in
the fd pointer.
Fix an inverted if statement in runComamnd
Fix inverted read logic in snapShotToFile function
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
