mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 14:02:51 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
Notes:
sideshowbarker
2024-07-17 16:21:09 +09:00
Author: https://github.com/IdanHo
Commit: 086969277e
Pull-request: https://github.com/SerenityOS/serenity/pull/12321
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/bgianfo ✅
1665 changed files with 8479 additions and 8479 deletions
|
@ -16,7 +16,7 @@
|
|||
#define IRQ_TIMER 0
|
||||
namespace Kernel {
|
||||
|
||||
UNMAP_AFTER_INIT NonnullRefPtr<PIT> PIT::initialize(Function<void(const RegisterState&)> callback)
|
||||
UNMAP_AFTER_INIT NonnullRefPtr<PIT> PIT::initialize(Function<void(RegisterState const&)> callback)
|
||||
{
|
||||
return adopt_ref(*new PIT(move(callback)));
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ UNMAP_AFTER_INIT NonnullRefPtr<PIT> PIT::initialize(Function<void(const Register
|
|||
IO::out8(TIMER0_CTL, MSB(timer_reload));
|
||||
}
|
||||
|
||||
PIT::PIT(Function<void(const RegisterState&)> callback)
|
||||
PIT::PIT(Function<void(RegisterState const&)> callback)
|
||||
: HardwareTimer(IRQ_TIMER, move(callback))
|
||||
, m_periodic(true)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue