diff --git a/trunk/config.h b/trunk/config.h index 2624ce8..3e7afab 100644 --- a/trunk/config.h +++ b/trunk/config.h @@ -15,7 +15,7 @@ #define MCU_VER_MAJOR 0x01 -#define MCU_VER_MINOR 0x10 +#define MCU_VER_MINOR 13 #define _firm_format_v3_ diff --git a/trunk/sw.c b/trunk/sw.c index 219e60c..8553dd6 100644 --- a/trunk/sw.c +++ b/trunk/sw.c @@ -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