Skip to content

Commit

Permalink
Update connect controller
Browse files Browse the repository at this point in the history
  • Loading branch information
NympheaR authored Sep 26, 2023
1 parent eb41a1c commit 02d6e92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void EggFetcher::program(SingleSwitchProgramEnvironment& env, BotBaseContext& co
EggFetcher_Descriptor::Stats& stats = env.current_stats<EggFetcher_Descriptor::Stats>();

// Connect the controller.
pbf_press_button(context, BUTTON_L, 10, 10);
pbf_press_button(context, BUTTON_L, 10, 0);

size_t num_eggs_collected = 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void EggHatcher::program(SingleSwitchProgramEnvironment& env, BotBaseContext& co

EggHatcher_Descriptor::Stats& stats = env.current_stats<EggHatcher_Descriptor::Stats>();
// Connect the controller.
pbf_press_button(context, BUTTON_L, 10, 10);
pbf_press_button(context, BUTTON_L, 10, 0);

if (START_LOCATION == StartLocation::AnywhereOffRide){
// Get on ride:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ void SizeChecker::program(SingleSwitchProgramEnvironment& env, BotBaseContext& c
SizeChecker_Descriptor::Stats& stats = env.current_stats<SizeChecker_Descriptor::Stats>();

// Connect the controller.
pbf_press_button(context, BUTTON_L, 10, 10);
pbf_press_button(context, BUTTON_L, 10, 0);

// Loop through boxes.
for (uint8_t box = 0; box < BOXES_TO_CHECK; box++){
Expand Down

0 comments on commit 02d6e92

Please sign in to comment.