try to add format at boot

pico-fc-test
alanbjohnston 3 years ago committed by GitHub
parent 27423268aa
commit 26e3dee2a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -187,7 +187,7 @@ void setup() {
config_camera();
Serial.println("ESP32-CAM Camera initialized v0.2");
Serial.println("ESP32-CAM Camera initialized v0.3");
pinMode(LED_PIN, OUTPUT); // Set the pin as output
@ -198,7 +198,8 @@ void setup() {
// crc.setPolynome(0x1021);
if (!SPIFFS.begin(FORMAT_SPIFFS_IF_FAILED)) {
// if (!SPIFFS.begin(FORMAT_SPIFFS_IF_FAILED)) {
if (!SPIFFS.begin(FORMAT_SPIFFS)) {
Serial.println("SPIFFS Mount Failed");
return;
}

Loading…
Cancel
Save

Powered by TurnKey Linux.