Skip to content

Commit e7d4cc5

Browse files
committed
minor changes to logging
1 parent 813ace3 commit e7d4cc5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

SerialPrograms/Source/PokemonSV/Programs/Sandwiches/PokemonSV_SandwichRoutines.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,8 @@ void run_sandwich_maker(ProgramEnvironment& env, VideoStream& stream, ProControl
12541254
//Place the fillings until label does not light up yellow on grab/the piece count is not hit
12551255
while (true){
12561256
//Break out after placing all pieces of the filling
1257-
if (placement_number == times_to_place){ // todo: maybe swap to current_plate_placement_number == piecesPerServing?
1257+
if (placement_number == times_to_place){
1258+
stream.log("We have placed down enough ingredients of that type, so we assume our current plate is empty. Move on to the next plate/ingredient.", COLOR_ORANGE);
12581259
break;
12591260
}
12601261

@@ -1287,7 +1288,7 @@ void run_sandwich_maker(ProgramEnvironment& env, VideoStream& stream, ProControl
12871288
// If the current plate is empty, break out of the loop and move on to the next plate.
12881289
if (hand_move_data.plate_empty){
12891290
context.wait_for_all_requests();
1290-
stream.log("Our current plate label is NOT yellow, so we assume our current plate is empty. Move on to the next plate.", COLOR_YELLOW);
1291+
stream.log("Our current plate label is NOT yellow, so we assume our current plate is empty. Move on to the next plate.", COLOR_ORANGE);
12911292
break;
12921293
}
12931294

0 commit comments

Comments
 (0)