mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-10-31 13:51:10 -04:00
歩数計
ログが進むとき、1歩余計にカウントしていた。累積はそのミスがないのでずれていっていた。 git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@111 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
parent
b31826e81c
commit
36bfa47ef9
@ -247,7 +247,7 @@ static void hosu_increment()
|
||||
{
|
||||
pool[ p_record ] = 1;
|
||||
}
|
||||
if( pool[ p_record ] != HOSU_MAX )
|
||||
else if( pool[ p_record ] != HOSU_MAX )
|
||||
{
|
||||
pool[ p_record ] += 1;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user