ctr_mcu/trunk/renge/renge.h
N2232 821f464cc4 ・(実機)電池を交換したときの対処
・歩数計ONの時、電源ボタン長押しでの強制オフが、指定地より長くなるのを修正。(簡易的)
 歩数計など、高負荷の場合、インターバル起動のタスクを想定回数起動できないことがあった。フラグではなくカウンタにして続けて2回実行などで何とか追いつくように変更



git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@181 013db118-44a6-b54f-8bf7-843cb86687b1
2010-05-28 08:26:38 +00:00

33 lines
838 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef __renge__
#define __renge__
//******************************************************************************
//******************************************************************************
#include "renge_defs.h"
#include "renge_task_immediate.h"
// #include "renge_task_interval_run.h" // ŠO©ç­<E280B9>§N“®ÖŽ~<7E>I
//******************************************************************************
void renge_init();
void renge_task_immed_init();
err renge_task_immed_run();
err renge_task_immed_add( task_immed );
// static err renge_task_immed_del( u8 );
void wait_ms( u8 );
//******************************************************************************
err renge_task_interval_run();
extern bit renge_task_interval_run_force;
extern u8 renge_flg_interval;
extern u8 system_time;
#endif