🩹 Fix color game compile (#27721)

This commit is contained in:
Marcio T. 2025-03-15 16:31:32 -06:00 committed by GitHub
parent 6ba08130f0
commit 3827ceaf66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,8 +31,8 @@ void MarlinGame::frame_start() {
void MarlinGame::frame_end() {}
void MarlinGame::set_color(const color color) {
switch (color) {
void MarlinGame::set_color(const color clr) {
switch (clr) {
default:
case color::WHITE: u8g.setColorIndex(1); break;
case color::BLACK: u8g.setColorIndex(0); break;