mirror of
https://github.com/simh/simh.git
synced 2026-02-14 19:57:19 +00:00
TIMER: Restore functionality for clocks devices that don't use sim_activate_after
Clock devices which call sim_register_clock_unit or sim_register_clock_unit_tmr are best behaved if they use sim_activate_after to schedule their tick events.
This commit is contained in:
@@ -3849,6 +3849,8 @@ return SCPE_OK;
|
||||
|
||||
t_stat tmxr_activate (UNIT *uptr, int32 interval)
|
||||
{
|
||||
if (uptr->dynflags & UNIT_TMR_UNIT)
|
||||
return sim_timer_activate (uptr, interval);
|
||||
#if defined(SIM_ASYNCH_MUX)
|
||||
if ((!(uptr->dynflags & UNIT_TM_POLL)) ||
|
||||
(!sim_asynch_enabled)) {
|
||||
|
||||
Reference in New Issue
Block a user