Skip to content

Commit

Permalink
clippy: reduce identity op
Browse files Browse the repository at this point in the history
  • Loading branch information
hegza committed Aug 16, 2024
1 parent 00b0dfa commit b4d9070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/headsail-bsp/src/mmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pub(crate) const UART0_ADDR: usize = 0x1FFF00000;
#[cfg(not(feature = "hpc"))]
pub(crate) const UART0_ADDR: usize = 0xFFF00000;
pub(crate) const UART0_THR: usize = UART0_ADDR + 0;
pub(crate) const UART0_THR: usize = UART0_ADDR;

// NOTE: (20240614 [email protected]) This applies to renode NS16550 uart, but might not apply to headsail ASIC
pub(crate) const UART_DATA_READY_OFFSET: usize = 5;
Expand Down

0 comments on commit b4d9070

Please sign in to comment.