From: David Volovskiy Date: Sun, 21 Dec 2025 16:28:40 +0000 (-0500) Subject: Watch's refresh can't handle Fast difficulty X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=4ef85c6f2c54761d692fc377c217a2f439ed477d;p=sensor-watch.git Watch's refresh can't handle Fast difficulty --- diff --git a/watch-faces/complication/ping_face.c b/watch-faces/complication/ping_face.c index ba650b5..414ab8e 100644 --- a/watch-faces/complication/ping_face.c +++ b/watch-faces/complication/ping_face.c @@ -48,7 +48,6 @@ typedef enum { DIFF_EASY, // FREQ_EASY FPS DIFF_NORM, // FREQ_NORM FPS DIFF_HARD, // FREQ_NORM FPS, smaller travel-distance for ball - DIFF_FAST, // FREQ_FAST FPS DIFF_COUNT } PingDifficulty; @@ -61,7 +60,6 @@ typedef enum { #define FREQ_BABY 2 #define FREQ_EASY 4 #define FREQ_NORM 8 -#define FREQ_FAST 16 #define BALL_POS_MAX 11 #define BALL_OFF_SCREEN 100 @@ -332,8 +330,7 @@ static void display_difficulty(uint16_t difficulty) { [DIFF_BABY] = " b", [DIFF_EASY] = " E", [DIFF_NORM] = " N", - [DIFF_HARD] = " H", - [DIFF_FAST] = " F" + [DIFF_HARD] = " H" }; watch_display_text(WATCH_POSITION_TOP_RIGHT, labels[difficulty]); } @@ -420,9 +417,6 @@ static void begin_playing(ping_state_t *state) { case DIFF_EASY: game_state.curr_freq = FREQ_EASY; break; - case DIFF_FAST: - game_state.curr_freq = FREQ_FAST; - break; case DIFF_NORM: case DIFF_HARD: default: diff --git a/watch-faces/complication/ping_face.h b/watch-faces/complication/ping_face.h index a816b5d..2207bec 100644 --- a/watch-faces/complication/ping_face.h +++ b/watch-faces/complication/ping_face.h @@ -41,7 +41,6 @@ Easy: 4 FPS Normal: 8 FPS Hard: 8 FPS and the ball travels half the half the board. - Fast: 16 FPS */