BUZZ cleanup (#14760)
This commit is contained in:
@ -79,7 +79,7 @@ void BrickoutGame::game_screen() {
|
||||
}
|
||||
// Did the ball go below the bottom?
|
||||
else if (newy > BTOF(LCD_PIXEL_HEIGHT)) {
|
||||
BUZZ(500, 75);
|
||||
_BUZZ(500, 75);
|
||||
if (--bdat.balls_left) reset_ball(); else game_state = 0;
|
||||
break; // done
|
||||
}
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
//#define MUTE_GAMES
|
||||
|
||||
#ifdef MUTE_GAMES
|
||||
#if ENABLED(MUTE_GAMES) || !HAS_BUZZER
|
||||
#define _BUZZ(D,F) NOOP
|
||||
#else
|
||||
#define _BUZZ(D,F) BUZZ(D,F)
|
||||
|
Reference in New Issue
Block a user