Better fix for boot issue with camera

This commit is contained in:
Luc 2020-10-15 11:41:59 +02:00
parent 50cb4f6294
commit c2d7a22006
3 changed files with 4 additions and 4 deletions

View File

@ -157,7 +157,7 @@
//FS_FLASH mount Flash FS
//FS_SD mount SD FS
//FS_USBDISK mount USB disk FS
#define FTP_FEATURE FS_ROOT
//#define FTP_FEATURE FS_ROOT
//DIRECT_PIN_FEATURE: allow to access pin using ESP201 command
#define DIRECT_PIN_FEATURE
@ -205,7 +205,7 @@
//CAMERA_MODEL_M5STACK_WIDE 3
//CAMERA_MODEL_AI_THINKER 4 e.g. used by ESP32-CAM
//CAMERA_MODEL_WROVER_KIT 5
//#define CAMERA_DEVICE CAMERA_MODEL_AI_THINKER
#define CAMERA_DEVICE CAMERA_MODEL_AI_THINKER
//#define CAMERA_DEVICE_FLIP_VERTICALY //comment to disable
//#define CAMERA_DEVICE_FLIP_HORIZONTALY//comment to disable
#define CUSTOM_CAMERA_NAME "ESP32-CAM"

View File

@ -22,7 +22,7 @@
#define _VERSION_ESP3D_H
//version and sources location
#define FW_VERSION "3.0.0.a64"
#define FW_VERSION "3.0.0.a65"
#define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0"
#endif //_VERSION_ESP3D_H

View File

@ -268,7 +268,7 @@ bool NetServices::begin()
#ifdef CAMERA_DEVICE
if (!esp3d_camera.begin()) {
output.printMSG("Failed start camera streaming server");
} else esp3d_camera.stopHardware();
} else esp3d_camera.connect(false);
#endif //CAMERA_DEVICE
if (!res) {
end();