rfid fuzzer fix

This commit is contained in:
MX 2022-10-11 03:39:48 +03:00
parent 349a151330
commit b6dfeac7ca
No known key found for this signature in database
GPG key ID: 6C4C311DFD4B4AB5

View file

@ -532,15 +532,16 @@ void flipfrid_scene_run_attack_on_event(FlipFridEvent event, FlipFridState* cont
}
break;
case InputKeyBack:
context->is_attacking = false;
context->attack_step = 0;
counter = 0;
if(context->attack == FlipFridAttackLoadFileCustomUids) {
furi_string_reset(context->data_str);
stream_rewind(context->uids_stream);
buffered_file_stream_close(context->uids_stream);
}
context->attack_step = 0;
counter = 0;
context->is_attacking = false;
furi_string_reset(context->notification_msg);
notification_message(context->notify, &sequence_blink_stop);
context->current_scene = SceneEntryPoint;