Skip to content

Commit 526f5bf

Browse files
authored
Merge pull request #292 from Sh3Rm4n/fix/remove-1.56-warnings
Resolve warnings
2 parents c99fd56 + 516ede5 commit 526f5bf

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- uses: actions-rs/cargo@v1
6565
with:
6666
command: check
67-
args: --features=stm32f303xc,stm32-usbd,rt,can,ld --lib --examples
67+
args: --features=stm32f303xc,stm32-usbd,rt,can,ld --lib
6868

6969
check-min-deps:
7070
name: Check Minimal Dependency Versions

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ panic-probe = "0.2.0"
5858
panic-semihosting = "0.5.6"
5959
usbd-serial = "0.1.1"
6060
usb-device = "0.2.8"
61-
cortex-m-rtic = "=0.6.0-alpha.5"
62-
dwt-systick-monotonic = "=0.1.0-alpha.3"
61+
cortex-m-rtic = "=0.6.0-rc.2"
62+
dwt-systick-monotonic = "=0.1.0-rc.1"
6363
panic-rtt-target = { version = "0.1", features = ["cortex-m"] }
6464
rtt-target = { version = "0.3.0", features = ["cortex-m"] }
6565

src/dma.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ macro_rules! dma {
514514

515515
// NOTE(unsafe) atomic write to a stateless register
516516
unsafe {
517-
&(*$DMAx::ptr()).ifcr.write(|w| match event {
517+
(*$DMAx::ptr()).ifcr.write(|w| match event {
518518
HalfTransfer => w.$chtifi().set_bit(),
519519
TransferComplete => w.$ctcifi().set_bit(),
520520
TransferError => w.$cteifi().set_bit(),

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ mod private {
136136
let mask = !(u32::MAX >> (32 - $bitwidth) << ($bitwidth * $index));
137137
let value = $value << ($bitwidth * $index);
138138
w.bits(r.bits() & mask | value)
139-
});
139+
})
140140
};
141141
}
142142
pub(crate) use modify_at;

0 commit comments

Comments
 (0)