This commit is contained in:
Willy-JL
2023-03-28 22:02:15 +01:00
parent c7f6cd1c64
commit c2c9257999
4 changed files with 6 additions and 5 deletions
@@ -499,7 +499,9 @@ void archive_switch_tab(ArchiveBrowserView* browser, InputKey key) {
if(archive_is_dir_exists(browser->path)) {
bool skip_assets = (strcmp(archive_get_tab_ext(tab), "*") == 0) ? false : true;
// Hide dot files everywhere except Browser if in debug mode
bool hide_dot_files = (strcmp(archive_get_tab_ext(tab), "*") == 0) ? !furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug) : true;
bool hide_dot_files = (strcmp(archive_get_tab_ext(tab), "*") == 0) ?
!furi_hal_rtc_is_flag_set(FuriHalRtcFlagDebug) :
true;
archive_file_browser_set_path(
browser, browser->path, archive_get_tab_ext(tab), skip_assets, hide_dot_files);
tab_empty = false; // Empty check will be performed later
@@ -26,8 +26,7 @@ void nfc_scene_nfc_data_info_on_enter(void* context) {
NfcProtocol protocol = dev_data->protocol;
uint8_t text_scroll_height = 0;
if((protocol == NfcDeviceProtocolMifareDesfire) || (protocol == NfcDeviceProtocolMifareUl) ||
(protocol == NfcDeviceProtocolMifareClassic) ||
(protocol == NfcDeviceProtocolNfcV)) {
(protocol == NfcDeviceProtocolMifareClassic) || (protocol == NfcDeviceProtocolNfcV)) {
widget_add_button_element(
widget, GuiButtonTypeRight, "More", nfc_scene_nfc_data_info_widget_callback, nfc);
text_scroll_height = 52;
+2 -1
View File
@@ -1396,7 +1396,8 @@ bool nfc_device_save(NfcDevice* dev, const char* dev_name) {
if(!flipper_format_write_header_cstr(file, nfc_file_header, nfc_file_version)) break;
// Write nfc device type
if(!flipper_format_write_comment_cstr(
file, "Nfc device type can be UID, Mifare Ultralight, Mifare Classic, Bank card or ISO15693"))
file,
"Nfc device type can be UID, Mifare Ultralight, Mifare Classic, Bank card or ISO15693"))
break;
nfc_device_prepare_format_string(dev, temp_str);
if(!flipper_format_write_string(file, "Device type", temp_str)) break;
-1
View File
@@ -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);