mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-24 04:32:52 +01:00
ignore no_mangle related warning
This commit is contained in:
parent
8659ecea72
commit
f9ada3f7f4
1 changed files with 1 additions and 0 deletions
|
@ -715,6 +715,7 @@ macro_rules! peripherals {
|
||||||
},)+
|
},)+
|
||||||
}) => {
|
}) => {
|
||||||
$(
|
$(
|
||||||
|
#[allow(private_no_mangle_statics)]
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
static $PERIPHERAL:
|
static $PERIPHERAL:
|
||||||
$crate::Peripheral<::$device::$RegisterBlock, $crate::$C> =
|
$crate::Peripheral<::$device::$RegisterBlock, $crate::$C> =
|
||||||
|
|
Loading…
Reference in a new issue