Home
last modified time | relevance | path

Searched refs:RESTART_THRESHOLD (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/samples/boards/bbc/microbit/pong/src/
Dmain.c45 #define RESTART_THRESHOLD (2 * MSEC_PER_SEC) /* Time before restart is macro
291 RESTART_THRESHOLD, &img, 1); in game_ended()
300 RESTART_THRESHOLD, &img, 1); in game_ended()
304 k_work_reschedule(&refresh, K_MSEC(RESTART_THRESHOLD)); in game_ended()
421 if (ended && (k_uptime_get() - ended) > RESTART_THRESHOLD) { in button_pressed()