Fix infinite loop during taking pictures if flash is not used
Merge pull request #1 from axic/master

Fix infinite loop during taking pictures if flash is not used