mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-14 22:18:14 +08:00
修复插座命名功能的一些问题
This commit is contained in:
@@ -153,7 +153,7 @@ static void KeyTimeoutHandler(void* arg)
|
||||
{
|
||||
//any button pressed
|
||||
key_time++;
|
||||
if (key_time <= BUTTON_LONG_PRESS_TIME)
|
||||
if (key_time > BUTTON_LONG_PRESS_TIME)
|
||||
{
|
||||
key_log("button long pressed:%d",key_time);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user