Skip to content

Commit

Permalink
remove leftover debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
Gruetzig committed Aug 8, 2023
1 parent f056d43 commit 17f2c5f
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions con3troller/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,26 +444,10 @@ int main() {
}
break;
case STATE_BUTTONPRESSED_B:
if (_kDown & KEY_X || _kHeld & KEY_X) {
drawStringBoxXCentered(SCREEN_HEIGHT-(30*0.5f)-1, 0, 0.5f, ctx.clrWhite, ctx.clrBgBright, "Down: Clear Log Up: Hide/show Log", 1.0f);
}
else if (_kHeld & KEY_B || _kHeld & KEY_B) {
drawStringBoxXCentered(SCREEN_HEIGHT-(30*0.5f)-3, 0, 0.5f, ctx.clrWhite, ctx.clrBgBright, "Down: Select IP Up: Load IP from configuration Left: Save IP to configuration", 1.0f);
}
else {
drawStringBoxXCentered(SCREEN_HEIGHT-(30*0.5f)-1, 0, 0.5f, ctx.clrWhite, ctx.clrBgBright, "START: Exit A: Begin Y: Settings X: Configure IP Y: Settings", 1.0f);
}
drawStringBoxXCentered(SCREEN_HEIGHT-(30*0.5f)-3, 0, 0.5f, ctx.clrWhite, ctx.clrBgBright, "Down: Select IP Up: Load IP from configuration Left: Save IP to configuration", 1.0f);
break;
case STATE_BUTTONPRESSED_X:
if (_kDown & KEY_X || _kHeld & KEY_X) {
drawStringBoxXCentered(SCREEN_HEIGHT-(30*0.5f)-1, 0, 0.5f, ctx.clrWhite, ctx.clrBgBright, "Down: Clear Log Up: Hide/show Log", 1.0f);
}
else if (_kHeld & KEY_B || _kHeld & KEY_B) {
drawStringBoxXCentered(SCREEN_HEIGHT-(30*0.5f)-3, 0, 0.5f, ctx.clrWhite, ctx.clrBgBright, "Down: Select IP Up: Load IP from configuration Left: Save IP to configuration", 1.0f);
}
else {
drawStringBoxXCentered(SCREEN_HEIGHT-(30*0.5f)-1, 0, 0.5f, ctx.clrWhite, ctx.clrBgBright, "START: Exit A: Begin Y: Settings X: Configure IP Y: Settings", 1.0f);
}
drawStringBoxXCentered(SCREEN_HEIGHT-(30*0.5f)-1, 0, 0.5f, ctx.clrWhite, ctx.clrBgBright, "Down: Clear Log Up: Hide/show Log", 1.0f);
break;
case STATE_RUNNING:
drawStringBoxXCentered(SCREEN_HEIGHT-(30*0.5f)-1, 0, 0.5f, ctx.clrWhite, ctx.clrBgBright, "START: Stop", 1.0f);
Expand Down

0 comments on commit 17f2c5f

Please sign in to comment.