修复已知编译问题

This commit is contained in:
nhkefus
2025-03-18 13:56:24 +08:00
parent 1b7d86f1f7
commit b36fce48f5
2 changed files with 4 additions and 4 deletions

View File

@@ -147,7 +147,6 @@ int application_start(void) {
if (user_config->version != USER_CONFIG_VERSION) { tc1_log("WARNGIN: user params restored!");
err = mico_system_context_restore(sys_config);
appRestoreDefault_callback(user_config, sizeof(user_config_t))
require_noerr(err, exit);
}

View File

@@ -113,9 +113,10 @@ static void KeyLong5sPress(void)
static void KeyLong10sPress(void)
{
key_log("WARNGIN: user params restored!");
appRestoreDefault_callback(user_config, sizeof(user_config_t));
sys_config->micoSystemConfig.ssid[0] = 0;
mico_system_context_update(mico_system_context_get());
mico_system_context_restore(sys_config);
// appRestoreDefault_callback(user_config, sizeof(user_config_t));
// sys_config->micoSystemConfig.ssid[0] = 0;
// mico_system_context_update(mico_system_context_get());
}
static void KeyShortPress(void)
{