Skip to content

Commit 1c3bca5

Browse files
authored
Merge pull request #101 from 9names/ci_fixes
CI fixes for new clippy warnings
2 parents 451f02c + 2bbe191 commit 1c3bca5

File tree

7 files changed

+5
-2
lines changed

7 files changed

+5
-2
lines changed

boards/boardsource-blok/examples/blok_usb_keyboard_input.rs

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
1414
#![no_std]
1515
#![no_main]
16+
#![allow(static_mut_refs)]
1617

1718
use boardsource_blok::{entry, hal};
1819
use boardsource_blok::{

boards/rp-pico/examples/pico_uart_irq_buffer.rs

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
1717
#![no_std]
1818
#![no_main]
19+
#![allow(static_mut_refs)]
1920

2021
// These are the traits we need from Embedded HAL to treat our hardware
2122
// objects as generic embedded devices.

boards/rp-pico/examples/pico_uart_irq_echo.rs

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
1515
#![no_std]
1616
#![no_main]
17+
#![allow(static_mut_refs)]
1718

1819
// These are the traits we need from Embedded HAL to treat our hardware
1920
// objects as generic embedded devices.

boards/rp-pico/examples/pico_usb_serial_interrupt.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
1212
#![no_std]
1313
#![no_main]
14+
#![allow(static_mut_refs)]
1415

1516
// The macro for our start-up function
1617
use rp_pico::entry;

boards/rp-pico/examples/pico_usb_twitchy_mouse.rs

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
1414
#![no_std]
1515
#![no_main]
16+
#![allow(static_mut_refs)]
1617

1718
// The macro for our start-up function
1819
use rp_pico::entry;

boards/rp-pico/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ extern crate cortex_m_rt;
5454
/// loop {}
5555
/// }
5656
/// ```
57-
5857
#[cfg(feature = "rt")]
5958
pub use hal::entry;
6059

boards/sparkfun-micromod-rp2040/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ extern crate cortex_m_rt;
5454
/// loop {}
5555
/// }
5656
/// ```
57-
5857
#[cfg(feature = "rt")]
5958
pub use hal::entry;
6059

0 commit comments

Comments
 (0)