mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 13:03:13 +00:00
lfrdfid: t5577_clear: make animation smoother
This commit is contained in:
parent
d1418bf7f6
commit
19e230823b
1 changed files with 2 additions and 3 deletions
|
@ -58,16 +58,15 @@ static void lfrfid_cli_t5577_clear_password_and_config_to_EM(Cli* cli, FuriStrin
|
|||
AlignCenter);
|
||||
|
||||
for(uint8_t i = 0; i < default_passwords_len; i++) {
|
||||
FURI_CRITICAL_ENTER();
|
||||
snprintf(curr_buf, sizeof(curr_buf), "Pass %d of %d", i, default_passwords_len);
|
||||
view_dispatcher_switch_to_view(app->view_dispatcher, LfRfidViewPopup);
|
||||
|
||||
FURI_CRITICAL_ENTER();
|
||||
writer_start();
|
||||
write_block(t55xxtiming, 0, 0, false, em_config_block_data, true, default_passwords[i]);
|
||||
write_reset(t55xxtiming);
|
||||
writer_stop();
|
||||
furi_delay_ms(5);
|
||||
FURI_CRITICAL_EXIT();
|
||||
furi_delay_ms(8);
|
||||
}
|
||||
popup_reset(app->popup);
|
||||
free(t55xxtiming);
|
||||
|
|
Loading…
Reference in a new issue