From d84127a7a85f4dd8b0bad8628c5da698eb07ed4e Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Fri, 25 Jan 2019 14:08:44 +0100 Subject: [PATCH] Add missing import in code example --- .../second-edition/posts/08-hardware-interrupts/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blog/content/second-edition/posts/08-hardware-interrupts/index.md b/blog/content/second-edition/posts/08-hardware-interrupts/index.md index 70578167..8added93 100644 --- a/blog/content/second-edition/posts/08-hardware-interrupts/index.md +++ b/blog/content/second-edition/posts/08-hardware-interrupts/index.md @@ -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 […]