Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/bbc/microbit/pong/src/
Dmain.c67 static enum pong_state pg_state = INIT; variable
205 pg_state = val; in mode_selected()
207 switch (pg_state) { in mode_selected()
219 printk("Unknown state %d\n", pg_state); in mode_selected()
325 if (pg_state == INIT) { in game_refresh()
331 game_init(pg_state == SINGLE || remote_lost); in game_refresh()
341 if (pg_state == SINGLE) { in game_refresh()
369 if (pg_state == CONNECTED) { in game_refresh()
428 game_init(pg_state == SINGLE || remote_lost); in button_pressed()
433 if (pg_state == MULTI) { in button_pressed()
[all …]