mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 12:49:08 +00:00
Kernel: Rename HardwareTimer::change_function() => set_callback()
Also make it non-virtual since nothing needs to override it.
This commit is contained in:
@@ -190,10 +190,10 @@ bool TimeManagement::probe_and_set_non_legacy_hardware_timers()
|
||||
}
|
||||
}
|
||||
|
||||
m_system_timer->change_function(Scheduler::timer_tick);
|
||||
m_system_timer->set_callback(Scheduler::timer_tick);
|
||||
dbg() << "Reset timers";
|
||||
m_system_timer->try_to_set_frequency(m_system_timer->calculate_nearest_possible_frequency(1024));
|
||||
m_time_keeper_timer->change_function(TimeManagement::update_time);
|
||||
m_time_keeper_timer->set_callback(TimeManagement::update_time);
|
||||
m_time_keeper_timer->try_to_set_frequency(OPTIMAL_TICKS_PER_SECOND_RATE);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user