전원 버튼 타이머 조건 변경
This commit is contained in:
@@ -1633,7 +1633,7 @@ static void main_s(void * p_context)
|
|||||||
go_device_power_off = true;
|
go_device_power_off = true;
|
||||||
main_timer_start();
|
main_timer_start();
|
||||||
}
|
}
|
||||||
else if (cnt_s > 250 || (m_reset_status == 2)) /* 250 x 5ms = 1.25s + α */
|
else if (cnt_s >= 250 || (m_reset_status == 2)) /* 250 x 5ms = 1.25s + α */
|
||||||
{
|
{
|
||||||
DBG_PRINTF("[BTN] Boot (cnt=%d)\r\n", cnt_s);
|
DBG_PRINTF("[BTN] Boot (cnt=%d)\r\n", cnt_s);
|
||||||
device_reset = false;
|
device_reset = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user