Buid 0.1.1.19
This commit is contained in:
@ -6,6 +6,8 @@
|
||||
volatile TimeSystem _internal_time;
|
||||
uint32 _internal_frequency_hz;
|
||||
|
||||
extern void TaskSwitch ();
|
||||
|
||||
void TimeHandler(_RegsStack32* UNUSED(r))
|
||||
{
|
||||
if (_internal_frequency_hz == 0) return;
|
||||
@ -16,4 +18,6 @@ void TimeHandler(_RegsStack32* UNUSED(r))
|
||||
_internal_time.Date++;
|
||||
_internal_time.Time-=MILISECONDS_IN_DAY;
|
||||
}
|
||||
|
||||
TaskSwitch();
|
||||
}
|
||||
|
Reference in New Issue
Block a user