Fixed problem in fast_idle_switch_hook

This commit is contained in:
Joel Sherrill
1995-09-21 17:47:06 +00:00
parent be650a843c
commit 79aaec8681

View File

@@ -88,7 +88,7 @@ fast_idle_switch_hook(rtems_tcb *current_task,
if (heir_task == _Internal_threads_Idle_thread) if (heir_task == _Internal_threads_Idle_thread)
CPU_HPPA_CLICKS_PER_TICK = fast_clock; CPU_HPPA_CLICKS_PER_TICK = fast_clock;
else if (heir_task == _Internal_threads_Idle_thread) else if (current_task == _Internal_threads_Idle_thread)
CPU_HPPA_CLICKS_PER_TICK = normal_clock; CPU_HPPA_CLICKS_PER_TICK = normal_clock;
} }