Fix a typo in "PioPeripheral"

This commit is contained in:
sekoia
2023-02-15 14:10:07 +01:00
parent e3f8020c3b
commit e641db1f75
3 changed files with 4 additions and 4 deletions

View File

@ -1174,7 +1174,7 @@ impl<const SM_NO: u8> SmInstance for SmInstanceBase<SM_NO> {
const SM_NO: u8 = SM_NO;
}
pub trait PioPeripherial: Sized {
pub trait PioPeripheral: Sized {
type Pio: PioInstance;
fn pio(&self) -> u8 {
let _ = self;
@ -1249,7 +1249,7 @@ pub type Sm3 = SmInstanceBase<3>;
macro_rules! impl_pio_sm {
($name:ident, $pio:expr) => {
impl PioPeripherial for peripherals::$name {
impl PioPeripheral for peripherals::$name {
type Pio = PioInstanceBase<$pio>;
}
};