mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 01:27:44 +00:00
Kernel: Make RPi Timer::set_clock_rate static
This allows it to be called in UART without calling the Timer constructor. This in turn allows the UART to be used before interrupts are enabled.
This commit is contained in:
parent
3cf8d3361e
commit
a0b0c4e723
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ public:
|
|||
M2MC = 13,
|
||||
PIXEL_BVB = 14,
|
||||
};
|
||||
u32 set_clock_rate(ClockID, u32 rate_hz, bool skip_setting_turbo = true);
|
||||
static u32 set_clock_rate(ClockID, u32 rate_hz, bool skip_setting_turbo = true);
|
||||
|
||||
private:
|
||||
Timer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue