mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +04:00
bugfix t5577_write_with_pass
This commit is contained in:
@@ -110,9 +110,9 @@ void t5577_write_with_pass(LFRFIDT5577* data, uint32_t password) {
|
|||||||
t5577_start();
|
t5577_start();
|
||||||
FURI_CRITICAL_ENTER();
|
FURI_CRITICAL_ENTER();
|
||||||
for(size_t i = 0; i < data->blocks_to_write; i++) {
|
for(size_t i = 0; i < data->blocks_to_write; i++) {
|
||||||
t5577_write_block_pass(0, false, data->block[i], true, password);
|
t5577_write_block_pass(i, false, data->block[i], true, password);
|
||||||
}
|
}
|
||||||
t5577_write_reset();
|
t5577_write_reset();
|
||||||
FURI_CRITICAL_EXIT();
|
FURI_CRITICAL_EXIT();
|
||||||
t5577_stop();
|
t5577_stop();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user