only continue if camera initializes

pico-fc-test
alanbjohnston 3 years ago committed by GitHub
parent 9c8e54fcc5
commit 31ddf4288f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -302,8 +302,9 @@ void loop() {
*/
// }
initialize_camera();
if (init_camera() == ESP_OK)
{
// initialize_camera();
config_camera();
@ -330,7 +331,7 @@ void loop() {
save_camera_image(filename);
send_image_serial(filename);
}
// delay(500);
if (sleep_cam) {

Loading…
Cancel
Save

Powered by TurnKey Linux.