mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-06-18 16:45:33 -04:00
■2.13 2.10(2nup用)が、加速度センサをonにするだけで歩数計がonになってしまったのを修正(エンバグ)
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@425 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
parent
81182d5688
commit
bf03aa5087
@ -135,8 +135,9 @@ task_status_immed tski_cbk_accero( )
|
||||
iic_mcu_read( IIC_SLA_ACCEL, ( ACC_REG_X | ACC_REG_FLG_BURST_ACCESS ), ACC_RAW_DATA_SIZE, temp );
|
||||
}
|
||||
}
|
||||
if(( system_status.pwr_state == ON )
|
||||
||( system_status.pwr_state == SLEEP )
|
||||
if( (( system_status.pwr_state == ON )
|
||||
||( system_status.pwr_state == SLEEP ))
|
||||
&&( ( vreg_ctr[VREG_C_ACC_CONFIG] & VREG_BITMASK_ACC_CONF_HOSU ) != 0 )
|
||||
)
|
||||
{
|
||||
pedometer(); // •ŕ<E280A2>”Śv
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
|
||||
#define MCU_VER_MAJOR 0x02
|
||||
#define MCU_VER_MINOR 0x10
|
||||
#define MCU_VER_MINOR 0x13
|
||||
|
||||
|
||||
// デバッグ向けスイッチ
|
||||
|
Loading…
Reference in New Issue
Block a user