mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-14 05:58:13 +08:00
修复已知编译问题
This commit is contained in:
@@ -103,11 +103,11 @@ void UserRelaySetAll(char y)
|
||||
UserRelaySet(i, y);
|
||||
}
|
||||
|
||||
static void KeyLongPress(void)
|
||||
static void KeyLong5sPress(void)
|
||||
{
|
||||
// key_log("KeyLongPress");
|
||||
// UserLedSet(1);
|
||||
// UserMqttSend("mqtt test");
|
||||
key_log("WARNGIN: wifi ap started!");
|
||||
sys_config->micoSystemConfig.ssid[0] = 0;
|
||||
mico_system_context_update(mico_system_context_get());
|
||||
}
|
||||
|
||||
static void KeyLong10sPress(void)
|
||||
@@ -156,9 +156,9 @@ static void KeyTimeoutHandler(void* arg)
|
||||
{
|
||||
key_log("button long pressed:%d",key_time);
|
||||
|
||||
if (key_time == 30)
|
||||
if (key_time == 50)
|
||||
{
|
||||
KeyLongPress();
|
||||
KeyLong5sPress();
|
||||
}
|
||||
else if (key_time == 100)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user