Skip to content

Commit

Permalink
lib: update dependency embedded-hal to 1.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: jakezhu9 <[email protected]>
  • Loading branch information
jakezhu9 committed Jan 10, 2024
1 parent 7396326 commit f6bb1dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion riscv-semihosting/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ default = ["jlink-quirks"]

[dependencies]
critical-section = "1.0.0"
riscv = {path = "../riscv", version = "0.10.1"}
riscv = { path = "../riscv", version = "0.10.1" }
2 changes: 1 addition & 1 deletion riscv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ critical-section-single-hart = ["critical-section/restore-state-bool"]

[dependencies]
critical-section = "1.1.2"
embedded-hal = "1.0.0-rc.2"
embedded-hal = "1.0.0"
4 changes: 2 additions & 2 deletions riscv/src/register/misa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ impl Misa {
///
/// # Example
///
/// ``` no_run
/// let misa = unsafe { riscv::register::misa::read() };
/// ```no_run
/// let misa = unsafe { riscv::register::misa::read() }.unwrap();
/// assert!(misa.has_extension('A')); // panics if atomic extension is not implemented
/// ```
#[inline]
Expand Down

0 comments on commit f6bb1dd

Please sign in to comment.