1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-02-04 15:23:11 +00:00

Only 8-bit core type has corename.cfg

This commit is contained in:
Gyorgy Szombathelyi
2022-01-13 11:14:56 +01:00
parent 78a56e1eb9
commit 0a22c7bb2a

View File

@@ -44,7 +44,8 @@ static char settings_setup(ini_cfg_t *ini, char global) {
if(global) {
ini->filename = "/MISTCFG.INI";
} else {
if(!user_io_create_config_name(s, "CFG", CONFIG_ROOT)) {
if(user_io_core_type == CORE_TYPE_8BIT &&
!user_io_create_config_name(s, "CFG", CONFIG_ROOT)) {
ini->filename = s;
} else {
return 0;