×コメント修正のみ

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@470 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
n2232 2012-09-12 07:30:11 +00:00
parent 3ab13482a9
commit 39fc5fa529
4 changed files with 11 additions and 11 deletions

Binary file not shown.

Binary file not shown.

View File

@ -2,7 +2,7 @@
MCU CTR BSR MCU CTR BSR
2008- nintendo 2008- nintendo
   
$Id$ $Id: asdf$
======================================================== */ ======================================================== */
@ -56,10 +56,11 @@ void main_loop( void )
BT_chk(); BT_chk();
system_status.pwr_state = OFF_TRIG; system_status.pwr_state = OFF_TRIG;
// リブート判定 // リブート判定
if( system_status.reboot ) if( system_status.reboot )
{ {
// 本体電源onなら、onを継続させる // 本体電源onなら、onを継続させる…MCU WDTリセット、自己アップデートなど
if( PM_chk_LDSW() ) if( PM_chk_LDSW() )
{ {
system_status.pwr_state = ON_TRIG; system_status.pwr_state = ON_TRIG;
@ -74,7 +75,7 @@ void main_loop( void )
vreg_ctr_init(); vreg_ctr_init();
clear_hosu_hist(); // 履歴クリア clear_hosu_hist(); // 歩数計履歴クリア
renge_task_interval_run_force = true; renge_task_interval_run_force = true;

View File

@ -345,7 +345,6 @@ void BT_chk()
BT_model_detect(); BT_model_detect();
bt_param_select(); // バッテリ残量補正パラメータなどセット 非実機でも、とりあえずの値(パナ)指定にしておく。 bt_param_select(); // バッテリ残量補正パラメータなどセット 非実機でも、とりあえずの値(パナ)指定にしておく。
// 無駄にrcomp計算させるが、未初期化ポインタを参照するのいやだし、非実機なら計算しないとか面倒
if( system_status.model != MODEL_JIKKI ) if( system_status.model != MODEL_JIKKI )
{ {