電源ボタンの挙動変更。 

バグってました。3秒余計に計ってました。


git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@287 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
n2232 2010-12-08 08:32:17 +00:00
parent d3f0e4c614
commit 68381238c8
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
#define MCU_VER_MAJOR 0x01
#define MCU_VER_MINOR 0x10
#define MCU_VER_MINOR 13
#define _firm_format_v3_

View File

@ -109,7 +109,7 @@ void tsk_sw( )
else if( SW_pow_count == ( HOLD_THREASHOLD ) )
{
set_irq( VREG_C_IRQ0, REG_BIT_SW_POW_HOLD );
off_timeout_timer = HOLD_THREASHOLD + vreg_ctr[ VREG_C_OFF_DELAY ] * 16;
off_timeout_timer = vreg_ctr[ VREG_C_OFF_DELAY ] * 16;
}
/*
else if( SW_pow_count > ( HOLD_THREASHOLD + vreg_ctr[ VREG_C_OFF_DELAY ] )) // ‚¨‚æ‚» 100/SYSTEM_TICK