Skip to content

Commit 91a8a5b

Browse files
authored
Merge pull request #1 from Tobirg/master
Change minimum delay
2 parents fb27ed2 + 2f4ab00 commit 91a8a5b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scene/ibtnfuzzer_scene_run_attack.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ uint8_t id_list_cyfral[14][2] = {
6969
};
7070

7171
void ibtnfuzzer_scene_run_attack_on_enter(iBtnFuzzerState* context) {
72-
context->time_between_cards = 10;
72+
context->time_between_cards = 8;
7373
context->attack_step = 0;
7474
context->key = ibutton_key_alloc();
7575
context->worker = ibutton_worker_alloc();
@@ -362,7 +362,7 @@ void ibtnfuzzer_scene_run_attack_on_event(iBtnFuzzerEvent event, iBtnFuzzerState
362362
break;
363363
case InputKeyLeft:
364364
if(!context->is_attacking) {
365-
if(context->time_between_cards > 8) {
365+
if(context->time_between_cards > 4) {
366366
context->time_between_cards--;
367367
}
368368
}
@@ -408,8 +408,8 @@ void ibtnfuzzer_scene_run_attack_on_event(iBtnFuzzerEvent event, iBtnFuzzerState
408408
switch(event.key) {
409409
case InputKeyLeft:
410410
if(!context->is_attacking) {
411-
if(context->time_between_cards > 8) {
412-
if((context->time_between_cards - 10) > 8) {
411+
if(context->time_between_cards > 4) {
412+
if((context->time_between_cards - 10) > 4) {
413413
context->time_between_cards -= 10;
414414
}
415415
}

0 commit comments

Comments
 (0)