From 2fcc3d1ae2f9dba3f07c8a1131e5e17cd4b1a445 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Tue, 2 May 2023 14:29:30 +0100 Subject: [PATCH] Format --- applications/main/nfc/scenes/nfc_scene_nfc_data_info.c | 2 +- applications/main/subghz/scenes/subghz_scene_transmitter.c | 7 +++---- lib/nfc/protocols/nfcv.c | 2 -- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/applications/main/nfc/scenes/nfc_scene_nfc_data_info.c b/applications/main/nfc/scenes/nfc_scene_nfc_data_info.c index f3e94d2be..1a879d8a0 100644 --- a/applications/main/nfc/scenes/nfc_scene_nfc_data_info.c +++ b/applications/main/nfc/scenes/nfc_scene_nfc_data_info.c @@ -204,7 +204,7 @@ void nfc_scene_nfc_data_info_on_enter(void* context) { furi_string_cat_printf(temp_str, "\e#ISO15693 (unknown)\n"); break; } - // Set tag general data + // Set tag general data } else if(type == FuriHalNfcTypeF) { // Set NFC-F data furi_string_cat_printf(temp_str, "ISO 18092 (NFC-F)\n"); diff --git a/applications/main/subghz/scenes/subghz_scene_transmitter.c b/applications/main/subghz/scenes/subghz_scene_transmitter.c index 77ae97cba..7877e3c14 100644 --- a/applications/main/subghz/scenes/subghz_scene_transmitter.c +++ b/applications/main/subghz/scenes/subghz_scene_transmitter.c @@ -84,12 +84,11 @@ void subghz_scene_transmitter_on_enter(void* context) { with_view_model( subghz->subghz_transmitter->view, SubGhzViewTransmitterModel * model, - { - model->show_button = false; - }, + { model->show_button = false; }, true); fav_timer = furi_timer_alloc(fav_timer_callback, FuriTimerTypeOnce, subghz); - furi_timer_start(fav_timer, XTREME_SETTINGS()->favorite_timeout * furi_kernel_get_tick_frequency()); + furi_timer_start( + fav_timer, XTREME_SETTINGS()->favorite_timeout * furi_kernel_get_tick_frequency()); subghz->state_notifications = SubGhzNotificationStateTx; } } diff --git a/lib/nfc/protocols/nfcv.c b/lib/nfc/protocols/nfcv.c index c9025ee90..2e817a538 100644 --- a/lib/nfc/protocols/nfcv.c +++ b/lib/nfc/protocols/nfcv.c @@ -1310,7 +1310,6 @@ bool nfcv_emu_loop( } nfcv_data->emu_protocol_handler(tx_rx, nfc_data, nfcv_data); - /* determine readers fc by analyzing transmission duration */ uint32_t duration = eof_timestamp - sof_timestamp; float fc_1024 = (4.0f * duration) / (4 * (frame_pos * 4 + 1) + 1); @@ -1346,4 +1345,3 @@ bool nfcv_emu_loop( return ret; } -