1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-04-27 04:47:22 +00:00

Send INI config to FPGA earlier (fix Minimig nag screen synchro).

This commit is contained in:
sorgelig
2017-01-13 18:25:14 +08:00
parent fd67afe448
commit 9b673e65e0
2 changed files with 1 additions and 3 deletions

1
fpga.c
View File

@@ -877,6 +877,7 @@ void fpga_init(char *name) {
user_io_detect_core_type();
mist_ini_parse();
user_io_send_buttons(1);
if((user_io_core_type() == CORE_TYPE_MINIMIG)||
(user_io_core_type() == CORE_TYPE_MINIMIG2)) {

3
menu.c
View File

@@ -3355,9 +3355,6 @@ void HandleUI(void)
// reset fpga with core
fpga_init(file.name);
// make sure new config gets current button/dip status
user_io_send_buttons(1);
menustate = MENU_NONE1;
break;