>歩数計バグ修正

>・内部で年の比較を誤っていた。2021年にバグが発覚するのを回避できた
変換に使う関数が反対でした


git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@315 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
n2232 2011-02-15 09:03:02 +00:00
parent 5b2e9e1a07
commit 76a167bc8e
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -500,9 +500,9 @@ static unsigned long my_sqrt(unsigned long x)
======================================================== */
static u16 calc_hours_spend( u8 year )
{
u8 temp_arg_year_bcd = bcdtob( year );
u8 temp_arg_year_bcd = btobcd( year );
// 同じ年の内
// 同じ年の内
if( cal_log_latest.year_bcd == temp_arg_year_bcd )
{
if( now_longhour > last_hour_fny )