mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +00:00
Kernel: Fix dumb logic typo in HardwareTimer::handle_irq()
This commit is contained in:
parent
c891c87cb5
commit
905519bc76
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
Add a link
Reference in a new issue