mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-10-31 13:51:10 -04:00
・スリープ(蓋閉じ)中だけ電源長押しオフを効かなくする(全機種共通) else if( SW_pow_count == ( HOLD_THREASHOLD ) ) が無しのイメージ? ・スリープスイッチがスリープになってるときは、HOME+PWRの短押しで電源オン これは機種判定してFLOWERのときのみ。CTRでは、PWRオンリー ON_CHECK時の電源監視での短押し判定にSW_home_countあたりをアンドする? git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@514 013db118-44a6-b54f-8bf7-843cb86687b1
25 lines
448 B
C
25 lines
448 B
C
#ifndef _pool_h_
|
|
#define _pool_h_
|
|
|
|
|
|
#include "pedometer.h"
|
|
|
|
#define VREG_C_FREE_SIZE 200
|
|
|
|
// 空いてるメモリ
|
|
typedef struct _st_vreg_c_ext{
|
|
unsigned short pedo_log[ PEDOMETER_LOG_SIZE ];
|
|
unsigned char vreg_c_free[ VREG_C_FREE_SIZE ];
|
|
}st_vreg_c_ext;
|
|
|
|
typedef union _uni_pool
|
|
{
|
|
st_vreg_c_ext vreg_c_ext;
|
|
u8 self_update_work[ 256 ]; // 256以上はまとめ書きできない
|
|
}uni_pool;
|
|
|
|
extern uni_pool pool;
|
|
|
|
|
|
#endif
|