We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81f4556 commit 2fc6c94Copy full SHA for 2fc6c94
1 file changed
src/hw/pit.cpp
@@ -61,8 +61,8 @@ namespace hw {
61
62
void PIT::disable_regular_interrupts()
63
{
64
- oneshot(1);
65
- IRQ_manager::get().disable_irq(0);
+ if (current_mode_ != ONE_SHOT)
+ oneshot(1);
66
}
67
68
PIT::PIT() {}
0 commit comments