Skip to content

Commit

Permalink
riot-rs-embassy: define_peripherals: fix type alias, allow non_camel_…
Browse files Browse the repository at this point in the history
…case_types
  • Loading branch information
kaspar030 committed Jan 23, 2024
1 parent caeb356 commit 117faa6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/riot-rs-embassy/src/define_peripherals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ macro_rules! define_peripherals {
),*
}

$($($(
#[allow(missing_docs)]
$($(
#[allow(missing_docs, non_camel_case_types)]
pub type $peripheral_alias = peripherals::$peripheral_field;
)?)*)*
)?)*

impl $peripherals {
pub fn take_from(
Expand Down

0 comments on commit 117faa6

Please sign in to comment.