From 66102b3aba02fabc67d7ae468107af024e39edf6 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 17 Apr 2019 18:54:31 +0200 Subject: [PATCH] Use version 0.2.0 of uart_16550 --- blog/content/second-edition/posts/04-testing/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/second-edition/posts/04-testing/index.md b/blog/content/second-edition/posts/04-testing/index.md index 6720a403..ba8ea7fa 100644 --- a/blog/content/second-edition/posts/04-testing/index.md +++ b/blog/content/second-edition/posts/04-testing/index.md @@ -266,7 +266,7 @@ We will use the [`uart_16550`] crate to initialize the UART and send data over t # in Cargo.toml [dependencies] -uart_16550 = "0.1.0" +uart_16550 = "0.2.0" ``` The `uart_16550` crate contains a `SerialPort` struct that represents the UART registers, but we still need to construct an instance of it ourselves. For that we create a new `serial` module with the following content: