lemariva / uPyCam

Take a photo with an ESP32-CAM running MicroPython
https://lemariva.com/blog/2019/09/micropython-how-about-taking-photo-esp32
Apache License 2.0
140 stars 42 forks source link

Check capture return type for expected bytes #5

Closed krayon closed 4 years ago

krayon commented 4 years ago

This ensures that we only try to progress with delivering the image if we actually got a byte stream returned.

Fixes #4

Signed-off-by: Krayon krayon.git@qdnx.org

lemariva commented 4 years ago

thanks!