BUZZ cleanup (#14760)

This commit is contained in:
Ludy authored and Scott Lahteine committed 2019-07-28 19:14:50 -05:00
1 parent 6b02b89ab4
commit c4bb458763
12 files changed
+74 -34

No files matched your search

+1 -1
View File
@@ -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
}
+1 -1
View File
@@ -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)