🩹 Fix color game compile (#27721)
This commit is contained in:
parent
6ba08130f0
commit
3827ceaf66
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue