mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-14 14:08:19 +08:00
修复已知编译问题
This commit is contained in:
@@ -147,7 +147,6 @@ int application_start(void) {
|
|||||||
|
|
||||||
if (user_config->version != USER_CONFIG_VERSION) { tc1_log("WARNGIN: user params restored!");
|
if (user_config->version != USER_CONFIG_VERSION) { tc1_log("WARNGIN: user params restored!");
|
||||||
err = mico_system_context_restore(sys_config);
|
err = mico_system_context_restore(sys_config);
|
||||||
appRestoreDefault_callback(user_config, sizeof(user_config_t))
|
|
||||||
require_noerr(err, exit);
|
require_noerr(err, exit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -113,9 +113,10 @@ static void KeyLong5sPress(void)
|
|||||||
static void KeyLong10sPress(void)
|
static void KeyLong10sPress(void)
|
||||||
{
|
{
|
||||||
key_log("WARNGIN: user params restored!");
|
key_log("WARNGIN: user params restored!");
|
||||||
appRestoreDefault_callback(user_config, sizeof(user_config_t));
|
mico_system_context_restore(sys_config);
|
||||||
sys_config->micoSystemConfig.ssid[0] = 0;
|
// appRestoreDefault_callback(user_config, sizeof(user_config_t));
|
||||||
mico_system_context_update(mico_system_context_get());
|
// sys_config->micoSystemConfig.ssid[0] = 0;
|
||||||
|
// mico_system_context_update(mico_system_context_get());
|
||||||
}
|
}
|
||||||
static void KeyShortPress(void)
|
static void KeyShortPress(void)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user