mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
Kernel: Fix dumb logic typo in HardwareTimer::handle_irq()
This commit is contained in:
parent
c891c87cb5
commit
905519bc76
|
@ -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…
Reference in a new issue