diff --git a/applications/main/nfc/scenes/nfc_scene_mf_ultralight_emulate.c b/applications/main/nfc/scenes/nfc_scene_mf_ultralight_emulate.c index ea628ad43..cea334a25 100644 --- a/applications/main/nfc/scenes/nfc_scene_mf_ultralight_emulate.c +++ b/applications/main/nfc/scenes/nfc_scene_mf_ultralight_emulate.c @@ -28,8 +28,8 @@ bool nfc_mf_ultralight_emulate_worker_callback(NfcWorkerEvent event, void* conte // Event data is only available for the duration of this callback, so we're updating the // text box right here MfUltralightAuth* auth = nfc_worker_get_event_data(nfc->worker); - if(auth != NULL && - furi_string_size(nfc->text_box_store) < NFC_SCENE_MF_ULTRALIGHT_EMULATE_LOG_SIZE_MAX) { + if(auth != NULL && furi_string_size(nfc->text_box_store) < + NFC_SCENE_MF_ULTRALIGHT_EMULATE_LOG_SIZE_MAX) { furi_string_cat(nfc->text_box_store, "PWD:"); for(size_t i = 0; i < sizeof(auth->pwd.raw); ++i) { furi_string_cat_printf(nfc->text_box_store, " %02X", auth->pwd.raw[i]); diff --git a/applications/main/subghz/scenes/subghz_scene_read_raw.c b/applications/main/subghz/scenes/subghz_scene_read_raw.c index ca691d830..329d9b7e5 100644 --- a/applications/main/subghz/scenes/subghz_scene_read_raw.c +++ b/applications/main/subghz/scenes/subghz_scene_read_raw.c @@ -292,7 +292,8 @@ bool subghz_scene_read_raw_on_event(void* context, SceneManagerEvent event) { furi_string_printf( temp_str, "%s/%s%s", SUBGHZ_RAW_FOLDER, strings[0], SUBGHZ_APP_EXTENSION); - subghz_protocol_raw_gen_fff_data(subghz->txrx->fff_data, furi_string_get_cstr(temp_str)); + subghz_protocol_raw_gen_fff_data( + subghz->txrx->fff_data, furi_string_get_cstr(temp_str)); furi_string_free(temp_str); if(spl_count > 0) { diff --git a/applications/main/subghz/subghz_history.c b/applications/main/subghz/subghz_history.c index 2db76e456..a5845d543 100644 --- a/applications/main/subghz/subghz_history.c +++ b/applications/main/subghz/subghz_history.c @@ -449,7 +449,7 @@ bool subghz_history_add_to_history( // Plan B! subghz_history_tmp_write_file_full(instance, item, dir_path); } - if (item->is_file) { + if(item->is_file) { flipper_format_free(item->flipper_string); item->flipper_string = NULL; } diff --git a/applications/services/desktop/scenes/desktop_scene_main.c b/applications/services/desktop/scenes/desktop_scene_main.c index 03978e499..53a665eed 100644 --- a/applications/services/desktop/scenes/desktop_scene_main.c +++ b/applications/services/desktop/scenes/desktop_scene_main.c @@ -184,7 +184,7 @@ bool desktop_scene_main_on_event(void* context, SceneManagerEvent event) { loader_start(desktop->loader, "Applications", EXT_PATH("/apps/Games/Snake.fap")); consumed = true; break; - } + } case DesktopMainEventOpen2048: { LoaderStatus status = loader_start(desktop->loader, "Applications", EXT_PATH("/apps/Games/2048.fap")); @@ -219,7 +219,7 @@ bool desktop_scene_main_on_event(void* context, SceneManagerEvent event) { loader_start(desktop->loader, FLIPPER_APPS[1].name, NULL); consumed = true; break; - } + } case DesktopLockedEventUpdate: desktop_view_locked_update(desktop->locked_view); consumed = true; diff --git a/applications/services/namechangersrv/namechangersrv.c b/applications/services/namechangersrv/namechangersrv.c index 755b16e8d..9316e8428 100644 --- a/applications/services/namechangersrv/namechangersrv.c +++ b/applications/services/namechangersrv/namechangersrv.c @@ -8,13 +8,13 @@ void namechanger_on_system_start() { FlipperFormat* file = flipper_format_file_alloc(storage); FuriString* NAMEHEADER; - NAMEHEADER = furi_string_alloc_set( "Flipper Name File"); + NAMEHEADER = furi_string_alloc_set("Flipper Name File"); FuriString* folderpath; - folderpath = furi_string_alloc_set( "/ext/dolphin"); + folderpath = furi_string_alloc_set("/ext/dolphin"); FuriString* filepath; - filepath = furi_string_alloc_set( "/ext/dolphin/name.txt"); + filepath = furi_string_alloc_set("/ext/dolphin/name.txt"); //Make dir if doesn't exist if(storage_simply_mkdir(storage, furi_string_get_cstr(folderpath))) { @@ -60,7 +60,7 @@ void namechanger_on_system_start() { bool res = false; FuriString* name; - name = furi_string_alloc_set( furi_hal_version_get_name_ptr()); + name = furi_string_alloc_set(furi_hal_version_get_name_ptr()); do { // Open file for write @@ -117,7 +117,7 @@ void namechanger_on_system_start() { bool res = false; FuriString* name; - name = furi_string_alloc_set( furi_hal_version_get_name_ptr()); + name = furi_string_alloc_set(furi_hal_version_get_name_ptr()); do { // Open file for write @@ -126,7 +126,8 @@ void namechanger_on_system_start() { } // Write header - if(!flipper_format_write_header_cstr(file, furi_string_get_cstr(NAMEHEADER), 1)) { + if(!flipper_format_write_header_cstr( + file, furi_string_get_cstr(NAMEHEADER), 1)) { break; } @@ -149,7 +150,8 @@ void namechanger_on_system_start() { } //Write name - if(!flipper_format_write_string_cstr(file, "Name", furi_string_get_cstr(name))) { + if(!flipper_format_write_string_cstr( + file, "Name", furi_string_get_cstr(name))) { break; }