mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Add missing import in code example
This commit is contained in:
@@ -172,6 +172,8 @@ As we see from the graphic [above](#the-8259-pic), the timer uses line 0 of the
|
||||
```rust
|
||||
// in src/interrupts.rs
|
||||
|
||||
use crate::print;
|
||||
|
||||
pub const TIMER_INTERRUPT_ID: u8 = PIC_1_OFFSET; // new
|
||||
|
||||
[…]
|
||||
|
||||
Reference in New Issue
Block a user