     }
     strncpy(players[active_player].display_time, timea, sizeof(players[active_player].display_time));
   }
-  if ((active_player == CLOCK_STOP || button_pressed == active_player) && button_pressed != CLOCK_STOP)   {
+  if ((active_player == NONE || button_pressed == active_player) && button_pressed != NONE)   {
     Serial.print("pre button_pressed: ");
     Serial.println(button_pressed);
     Serial.print("pre active_player: ");

#define INITIAL_TIME_MS 5000


int active_player = CLOCK_STOP;
volatile int button_pressed = CLOCK_STOP;

inline void handle_button_press(int button) {
  button_pressed = button;

#include <SPI.h>
#include <TFT.h>

#define NONE -1

#define DISPLAY_FONT_SIZE 7
#define CHAR_HEIGHT_PX DISPLAY_FONT_SIZE * 10
