mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
IR: Fix openned typo in error message
This commit is contained in:
@@ -566,7 +566,7 @@ int32_t infrared_app(void* p) {
|
||||
is_remote_loaded = false;
|
||||
bool wrong_file_type = INFRARED_ERROR_CHECK(error, InfraredErrorCodeWrongFileType);
|
||||
const char* format = wrong_file_type ?
|
||||
"Library file\n\"%s\" can't be openned as a remote" :
|
||||
"Library file\n\"%s\" can't be opened as a remote" :
|
||||
"Failed to load\n\"%s\"";
|
||||
|
||||
infrared_show_error_message(infrared, format, file_path);
|
||||
|
||||
@@ -46,7 +46,7 @@ bool infrared_scene_remote_list_on_event(void* context, SceneManagerEvent event)
|
||||
bool wrong_file_type =
|
||||
INFRARED_ERROR_CHECK(task_error, InfraredErrorCodeWrongFileType);
|
||||
const char* format = wrong_file_type ?
|
||||
"Library file\n\"%s\" can't be openned as a remote" :
|
||||
"Library file\n\"%s\" can't be opened as a remote" :
|
||||
"Failed to load\n\"%s\"";
|
||||
|
||||
infrared_show_error_message(
|
||||
|
||||
@@ -93,7 +93,7 @@ bool infrared_scene_universal_from_file_on_event(void* context, SceneManagerEven
|
||||
bool wrong_file_type =
|
||||
INFRARED_ERROR_CHECK(task_error, InfraredErrorCodeWrongFileType);
|
||||
const char* format = wrong_file_type ?
|
||||
"Remote file\n\"%s\" can't be openned as a library" :
|
||||
"Remote file\n\"%s\" can't be opened as a library" :
|
||||
"Failed to load\n\"%s\"";
|
||||
|
||||
infrared_show_error_message(
|
||||
|
||||
Reference in New Issue
Block a user