]> git.earman.xyz Git - sensor-watch.git/commitdiff
Watch's refresh can't handle Fast difficulty
authorDavid Volovskiy <devolov@gmail.com>
Sun, 21 Dec 2025 16:28:40 +0000 (11:28 -0500)
committerDavid Volovskiy <devolov@gmail.com>
Sun, 21 Dec 2025 16:28:40 +0000 (11:28 -0500)
watch-faces/complication/ping_face.c
watch-faces/complication/ping_face.h

index ba650b550581fbb61eceb9efb9d5ad6e3a7a5b41..414ab8e831ca79c5d9d8f765f81a4df5935111cc 100644 (file)
@@ -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:
index a816b5d35c065c485d6d126a6c71c277900c15a6..2207bec3b31423f96a230c0f67cc44f4a484a1fe 100644 (file)
@@ -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
 
 */