@@ -34,7 +34,10 @@ void home_to_date_time(VideoStream& stream, ProControllerContext& context, bool
3434 ssf_issue_scroll (context, SSF_SCROLL_DOWN, 3 );
3535 ssf_issue_scroll (context, SSF_SCROLL_DOWN, 4 );
3636
37+ // if (i > 0){ // intentionally create a failure, for testing
3738 ssf_issue_scroll (context, SSF_SCROLL_LEFT, 0 );
39+ // }
40+
3841
3942 // ImageFloatBox system_icon(0.685, 0.69, 0.05, 0.03);
4043 // ImageFloatBox other_setting1(0.615, 0.69, 0.05, 0.03);
@@ -68,7 +71,7 @@ void home_to_date_time(VideoStream& stream, ProControllerContext& context, bool
6871 {system_setting_selected}
6972 );
7073 if (ret < 0 ){ // failed to detect System highlighted. press home and re-try
71- pbf_press_button (context, BUTTON_HOME, 100ms, 100ms );
74+ pbf_press_button (context, BUTTON_HOME, 100ms, 2000ms );
7275 continue ;
7376 }
7477
@@ -89,7 +92,9 @@ void home_to_date_time(VideoStream& stream, ProControllerContext& context, bool
8992 ssf_issue_scroll (context, SSF_SCROLL_DOWN, 10 );
9093 ssf_press_dpad (context, DPAD_DOWN, 45 , 40 );
9194 ssf_issue_scroll (context, SSF_SCROLL_DOWN, 3 );
95+ // if (i > 1){ // intentionally create a failure, for testing
9296 ssf_issue_scroll (context, SSF_SCROLL_DOWN, 3 );
97+ // }
9398
9499
95100 // double up this A press to make sure it gets through.
@@ -109,7 +114,7 @@ void home_to_date_time(VideoStream& stream, ProControllerContext& context, bool
109114 {sync_clock_selected}
110115 );
111116 if (ret < 0 ){ // failed to detect System highlighted. press home and re-try
112- pbf_press_button (context, BUTTON_HOME, 100ms, 100ms );
117+ pbf_press_button (context, BUTTON_HOME, 100ms, 2000ms );
113118 continue ;
114119 }
115120
0 commit comments