mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-23 04:55:15 +00:00
Kernel: Fix dumb logic typo in HardwareTimer::handle_irq()
This commit is contained in:
parent
c891c87cb5
commit
905519bc76
Notes:
sideshowbarker
2024-07-19 07:32:37 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/905519bc76a
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ HardwareTimer::HardwareTimer(u8 irq_number, Function<void(const RegisterState&)>
|
|||
|
||||
void HardwareTimer::handle_irq(const RegisterState& regs)
|
||||
{
|
||||
if (!m_callback)
|
||||
if (m_callback)
|
||||
m_callback(regs);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue