mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-06-18 16:45:33 -04:00

・TWLに音量変化割り込みを入れまくらない。 ACKとしてのREADを期待せず、変化した分だけ入れる ・歩数計ログをクリア後、1歩目をカウントしたところからログいっぱいで止める &一応リファクタリング 年またぎなど一通りチェックはしたが… ぼちぼちブランチを切る git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@308 013db118-44a6-b54f-8bf7-843cb86687b1
30 lines
568 B
C
30 lines
568 B
C
#ifndef _pedo_
|
||
#define _pedo_
|
||
|
||
|
||
|
||
|
||
// =========================================================
|
||
extern bit pedolog_read_msb;
|
||
|
||
|
||
|
||
// =========================================================
|
||
//void hosu_read_end( ); ƒ}ƒNƒ<4E>‰»
|
||
#define hosu_read_end() pedolog_read_msb = 0
|
||
|
||
u8 hosu_read( );
|
||
void fill_hosu_hist_hours( u16 );
|
||
void clear_hosu_hist();
|
||
void pedometer();
|
||
|
||
|
||
|
||
// =========================================================
|
||
#define PEDOMETER_LOG_SIZE ( 24 * 7 )
|
||
|
||
|
||
|
||
// =========================================================
|
||
#endif
|