Reverted device name in st_util_daemon.sh. Added missing edge clear in game.c
This commit is contained in:
@@ -418,6 +418,13 @@ bool game_step_prestart(game_t* game) {
|
||||
LCD_DisplayStringXY(TG_HEADER_PLAYER_X+i*TG_HEADER_PLAYER_WIDTH, TG_HEADER_PLAYER_Y, buf); // Print everything
|
||||
}
|
||||
|
||||
|
||||
//Read all "cached" edges, to prevent direction changes on start
|
||||
io_button_has_edge(BTN_PLAYER_1_LEFT);
|
||||
io_button_has_edge(BTN_PLAYER_1_RIGHT);
|
||||
io_button_has_edge(BTN_PLAYER_2_LEFT);
|
||||
io_button_has_edge(BTN_PLAYER_2_RIGHT);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
|
||||
pid=/tmp/st-util.pid
|
||||
isp=/dev/stlinkv2_8
|
||||
isp=/dev/stlinkv2_2
|
||||
|
||||
case "$1" in
|
||||
"start")
|
||||
|
||||
Reference in New Issue
Block a user