From 97607f90f3776dfd73425e488504ceef86afc82f Mon Sep 17 00:00:00 2001 From: N2614 Date: Tue, 29 Dec 2009 00:01:55 +0000 Subject: [PATCH] =?UTF-8?q?=E9=9B=BB=E6=BA=90=E3=83=9C=E3=82=BF=E3=83=B3?= =?UTF-8?q?=E3=82=AF=E3=83=AA=E3=83=83=E3=82=AF=E3=82=82Home=E3=83=9C?= =?UTF-8?q?=E3=82=BF=E3=83=B3=E3=82=AF=E3=83=AA=E3=83=83=E3=82=AF=E3=81=A8?= =?UTF-8?q?=E5=90=8C=E6=A7=98=E3=81=AB=E4=BF=AE=E6=AD=A3?= 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@73 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 ); }