Skip to content

Commit

Permalink
Update to rust 1.82.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirbaio committed Oct 17, 2024
1 parent 0225c2a commit dc038b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.81"
channel = "1.82"
components = [ "rust-src", "rustfmt", "llvm-tools" ]
targets = [
"thumbv7em-none-eabi",
Expand Down
2 changes: 1 addition & 1 deletion tests/nrf/src/bin/buffered_uart_spam.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async fn main(_spawner: Spawner) {
let task = unsafe { Task::new_unchecked(NonNull::new_unchecked(&spam_peri.tasks_starttx as *const _ as _)) };
let mut spam_ppi = Ppi::new_one_to_one(p.PPI_CH2, event, task);
spam_ppi.enable();
let p = unsafe { core::ptr::addr_of_mut!(TX_BUF) } as *mut u8;
let p = (&raw mut TX_BUF) as *mut u8;
spam_peri.txd.ptr.write(|w| unsafe { w.ptr().bits(p as u32) });
spam_peri.txd.maxcnt.write(|w| unsafe { w.maxcnt().bits(NSPAM as _) });
spam_peri.tasks_starttx.write(|w| unsafe { w.bits(1) });
Expand Down

0 comments on commit dc038b8

Please sign in to comment.