changed print to pringle

pico-v0.13
alanbjohnston 3 years ago committed by GitHub
parent 902dfe07e0
commit 2ce2e0387c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3536,22 +3536,22 @@ void load_files() {
f = LittleFS.open("sstv_image_1_320_x_240.jpg", "r");
if (f) {
Serial.print("Image sstv_image_1_320_x_240.jpg already in FS");
Serial.println("Image sstv_image_1_320_x_240.jpg already in FS");
f.close();
} else {
Serial.print("Loading image sstv_image_1_320_x_240.jpg into FS");
f = LittleFS.open("sstv_image_1_320_x_240.jpg", "w+");
if (f.write(sstv_image_1_320_x_240, sizeof(sstv_image_1_320_x_240)) < sizeof(sstv_image_1_320_x_240))
Serial.print("Loading image failed. Is Flash Size (FS) set to 1MB?");
Serial.println("Loading image failed. Is Flash Size (FS) set to 1MB?");
f.close();
}
f = LittleFS.open("sstv_image_2_320_x_240.jpg", "r");
if (f) {
Serial.print("Image sstv_image_2_320_x_240.jpg already in FS");
Serial.println("Image sstv_image_2_320_x_240.jpg already in FS");
f.close();
} else {
Serial.print("Loading image sstv_image_2_320_x_240.jpg into FS");
Serial.println("Loading image sstv_image_2_320_x_240.jpg into FS");
f = LittleFS.open("sstv_image_2_320_x_240.jpg", "w+");
if (f.write(sstv_image_2_320_x_240, sizeof(sstv_image_2_320_x_240)) < sizeof(sstv_image_2_320_x_240))
Serial.print("Loading image failed. Is Flash Size (FS) set to 1MB?");

Loading…
Cancel
Save

Powered by TurnKey Linux.