From bdeac395b8d811fa9cc635adda3fee80c7eb56f7 Mon Sep 17 00:00:00 2001 From: N2614 Date: Fri, 8 Jan 2010 02:25:43 +0000 Subject: [PATCH] =?UTF-8?q?=E9=9B=BB=E6=BA=90=E9=95=B7=E6=8A=BC=E3=81=97?= =?UTF-8?q?=E5=BE=8C=E3=81=A1=E3=82=87=E3=81=86=E3=81=A9=E3=81=84=E3=81=84?= =?UTF-8?q?=E3=82=BF=E3=82=A4=E3=83=9F=E3=83=B3=E3=82=B0=E3=81=A7=E9=9B=A2?= =?UTF-8?q?=E3=81=99=E3=81=A8=E3=80=81=E3=82=AF=E3=83=AA=E3=83=83=E3=82=AF?= =?UTF-8?q?=E3=82=82=E9=95=B7=E6=8A=BC=E3=81=97=E5=89=B2=E3=82=8A=E8=BE=BC?= =?UTF-8?q?=E3=81=BF=E3=82=82=E5=85=A5=E3=82=89=E3=81=AA=E3=81=84=E3=81=93?= =?UTF-8?q?=E3=81=A8=E3=81=8C=E3=81=82=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@79 013db118-44a6-b54f-8bf7-843cb86687b1 --- trunk/sw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/sw.c b/trunk/sw.c index 5e4ef7a..5fa6471 100644 --- a/trunk/sw.c +++ b/trunk/sw.c @@ -92,7 +92,7 @@ void tsk_sw( ) // 電源スイッチの監視 // if( SW_POW_n ) { - if( ( CLICK_THRESHOLD < SW_pow_count ) && ( SW_pow_count < HOLD_THREASHOLD ) ) + if( ( CLICK_THRESHOLD < SW_pow_count ) && ( SW_pow_count <= HOLD_THREASHOLD ) ) { set_irq( VREG_C_IRQ0, REG_BIT_SW_POW_CLICK ); }