mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Format
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user