Skip to content

Commit

Permalink
Merge pull request #1 from rust-osdev/dependency-updates
Browse files Browse the repository at this point in the history
Update to x86_64 0.7.3 and bitflags 1.1.0
  • Loading branch information
phil-opp authored Sep 25, 2019
2 parents 94bea3c + 3e5eec3 commit 0beeb78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ repository = "https://github.com/rust-osdev/uart_16550"
edition = "2018"

[dependencies]
bitflags = "1.0.4"
x86_64 = "0.5.4"
bitflags = "1.1.0"
x86_64 = "0.7.3"
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl SerialPort {
}
}

fn line_sts(&self) -> LineStsFlags {
fn line_sts(&mut self) -> LineStsFlags {
unsafe { LineStsFlags::from_bits_truncate(self.line_sts.read()) }
}

Expand Down

0 comments on commit 0beeb78

Please sign in to comment.