Skip to content

Commit

Permalink
Merge pull request #259 from quartiq/dependabot/cargo/cortex-m-rtic-1…
Browse files Browse the repository at this point in the history
….1.3

Bump cortex-m-rtic from 1.0.0 to 1.1.3
  • Loading branch information
ryan-summers authored Nov 21, 2022
2 parents 01d1b7c + e28e8d4 commit 654a2ab
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exclude = [
[dependencies]
cortex-m = "0.7.6"
cortex-m-rt = "0.6.10"
cortex-m-rtic = "1.0"
cortex-m-rtic = "1.1"
enum-iterator = "0.6.0"
mono-clock = "0.1"
systick-monotonic = "1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion src/hardware/platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pub fn clear_reset_flags() {
/// Reset the device to the internal DFU bootloader.
pub fn reset_to_dfu_bootloader() {
// Disable the SysTick peripheral.
let systick = unsafe { &*cortex_m::peripheral::SYST::ptr() };
let systick = unsafe { &*cortex_m::peripheral::SYST::PTR };
unsafe {
systick.csr.write(0);
systick.rvr.write(0);
Expand Down

0 comments on commit 654a2ab

Please sign in to comment.