Skip to content

Commit 6349e25

Browse files
committed
update timings
1 parent 44cc76f commit 6349e25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SerialPrograms/Source/NintendoSwitch/Programs/DateSpam/NintendoSwitch1_HomeToDateTime.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ void home_to_date_time_Switch1_wireless_esp32_feedback(
409409
stream, context,
410410
[](ProControllerContext& context){
411411
for (int i = 0; i < 10; i++){
412-
ssf_issue_scroll(context, SSF_SCROLL_DOWN, 24ms);
412+
ssf_issue_scroll(context, SSF_SCROLL_DOWN, unit);
413413
}
414414
},
415415
{system_setting_selected}
@@ -438,7 +438,7 @@ void home_to_date_time_Switch1_wireless_esp32_feedback(
438438

439439
// only one ButtonA press since the program can self-recover if the button is dropped.
440440
// furthermore, the program can't self-recover if a second button press is registered.
441-
ssf_press_button(context, BUTTON_A, 24ms, 48ms, 24ms);
441+
ssf_press_button(context, BUTTON_A, 360ms, 2*unit, unit);
442442

443443
context.wait_for_all_requests();
444444
context.wait_for(Milliseconds(300));

0 commit comments

Comments
 (0)