Skip to content

Commit

Permalink
Merge pull request #101 from 9names/ci_fixes
Browse files Browse the repository at this point in the history
CI fixes for new clippy warnings
  • Loading branch information
9names authored Jan 4, 2025
2 parents 451f02c + 2bbe191 commit 1c3bca5
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#![no_std]
#![no_main]
#![allow(static_mut_refs)]

use boardsource_blok::{entry, hal};
use boardsource_blok::{
Expand Down
1 change: 1 addition & 0 deletions boards/rp-pico/examples/pico_uart_irq_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#![no_std]
#![no_main]
#![allow(static_mut_refs)]

// These are the traits we need from Embedded HAL to treat our hardware
// objects as generic embedded devices.
Expand Down
1 change: 1 addition & 0 deletions boards/rp-pico/examples/pico_uart_irq_echo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#![no_std]
#![no_main]
#![allow(static_mut_refs)]

// These are the traits we need from Embedded HAL to treat our hardware
// objects as generic embedded devices.
Expand Down
1 change: 1 addition & 0 deletions boards/rp-pico/examples/pico_usb_serial_interrupt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#![no_std]
#![no_main]
#![allow(static_mut_refs)]

// The macro for our start-up function
use rp_pico::entry;
Expand Down
1 change: 1 addition & 0 deletions boards/rp-pico/examples/pico_usb_twitchy_mouse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#![no_std]
#![no_main]
#![allow(static_mut_refs)]

// The macro for our start-up function
use rp_pico::entry;
Expand Down
1 change: 0 additions & 1 deletion boards/rp-pico/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ extern crate cortex_m_rt;
/// loop {}
/// }
/// ```
#[cfg(feature = "rt")]
pub use hal::entry;

Expand Down
1 change: 0 additions & 1 deletion boards/sparkfun-micromod-rp2040/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ extern crate cortex_m_rt;
/// loop {}
/// }
/// ```
#[cfg(feature = "rt")]
pub use hal::entry;

Expand Down

0 comments on commit 1c3bca5

Please sign in to comment.