Skip to content

Commit

Permalink
Merge branch 'rotation'
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Dec 10, 2023
2 parents af085cf + ad7fc47 commit 1f1193f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ int RomWidthPlane = 128 >> 3;
unsigned char lumstep = 1;

bool MireActive = false;
// 0: screen saver
// 1: normal operation mode
// 2: PPUC info screen
// 3: clear screen (command received)
uint8_t displayStatus = 1;
bool handshakeSucceeded = false;
bool compression = false;
Expand Down Expand Up @@ -1250,7 +1254,7 @@ void loop()
DisplayNombre(c4, 2, TOTAL_WIDTH - 3 * 4, TOTAL_HEIGHT - 8, 200, 200, 200);
}

if (displayStatus == 0)
if (displayStatus != 1)
{
// Exit screen saver.
ClearScreen();
Expand Down

0 comments on commit 1f1193f

Please sign in to comment.