TIMER: Add missing type on internal calibrated clock service routine
This commit is contained in:
parent
4f3dd08314
commit
e1ed22f30c
1 changed files with 2 additions and 1 deletions
|
@ -1386,10 +1386,11 @@ return NULL;
|
||||||
To solve this we merely run an internal clock at 50Hz.
|
To solve this we merely run an internal clock at 50Hz.
|
||||||
*/
|
*/
|
||||||
#define CLK_TPS 50
|
#define CLK_TPS 50
|
||||||
static sim_timer_clock_tick_svc (UNIT *uptr)
|
static t_stat sim_timer_clock_tick_svc (UNIT *uptr)
|
||||||
{
|
{
|
||||||
sim_rtcn_calb (CLK_TPS, SIM_NTIMERS-1);
|
sim_rtcn_calb (CLK_TPS, SIM_NTIMERS-1);
|
||||||
sim_activate_after (uptr, 1000000/CLK_TPS); /* reactivate unit */
|
sim_activate_after (uptr, 1000000/CLK_TPS); /* reactivate unit */
|
||||||
|
return SCPE_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
void sim_start_timer_services (void)
|
void sim_start_timer_services (void)
|
||||||
|
|
Loading…
Add table
Reference in a new issue