Merge #1217
1217: Fix a typo in "PioPeripheral" r=Dirbaio a=SekoiaTree Renames "PioPeripherial" to "PioPeripheral" (without the second i). Co-authored-by: sekoia <sequoia.1009@gmail.com>
This commit is contained in:
		| @@ -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>; | ||||
|         } | ||||
|     }; | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
| use defmt::info; | ||||
| use embassy_executor::Spawner; | ||||
| use embassy_rp::gpio::{AnyPin, Pin}; | ||||
| use embassy_rp::pio::{Pio0, PioPeripherial, PioStateMachine, PioStateMachineInstance, ShiftDirection, Sm0, Sm1, Sm2}; | ||||
| use embassy_rp::pio::{Pio0, PioPeripheral, PioStateMachine, PioStateMachineInstance, ShiftDirection, Sm0, Sm1, Sm2}; | ||||
| use embassy_rp::pio_instr_util; | ||||
| use embassy_rp::relocate::RelocatedProgram; | ||||
| use {defmt_rtt as _, panic_probe as _}; | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
| use defmt::info; | ||||
| use embassy_executor::Spawner; | ||||
| use embassy_futures::join::join; | ||||
| use embassy_rp::pio::{PioPeripherial, PioStateMachine, ShiftDirection}; | ||||
| use embassy_rp::pio::{PioPeripheral, PioStateMachine, ShiftDirection}; | ||||
| use embassy_rp::relocate::RelocatedProgram; | ||||
| use embassy_rp::{pio_instr_util, Peripheral}; | ||||
| use {defmt_rtt as _, panic_probe as _}; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user