summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp
index af8f1c692a..06edeae3c5 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -3307,7 +3307,8 @@ void Main::setup_boot_logo() {
boot_logo.instantiate();
Error load_err = ImageLoader::load_image(boot_logo_path, boot_logo);
if (load_err) {
- ERR_PRINT("Non-existing or invalid boot splash at '" + boot_logo_path + "'. Loading default splash.");
+ String msg = (boot_logo_path.ends_with(".png") ? "" : "The only supported format is PNG.");
+ ERR_PRINT("Non-existing or invalid boot splash at '" + boot_logo_path + +"'. " + msg + " Loading default splash.");
}
}
} else {