Skip to content

Commit

Permalink
Fix typo in PinMode doc comment
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil Velagapudi <[email protected]>
  • Loading branch information
akhilles authored and David-OConnor committed Sep 17, 2024
1 parent 15052c6 commit 6174d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ use crate::dma::{self, ChannelCfg, DmaChannel};
pub enum PinMode {
/// An input pin; read by firmware; set by something connected to the pin.
Input,
/// An input pin; set by firmware; read by something connected to the pin.
/// An output pin; set by firmware; read by something connected to the pin.
Output,
/// An alternate function, as defined in the MCU's user manual. Used for various
/// onboard peripherals like buses, timers etc.
Expand Down

0 comments on commit 6174d6a

Please sign in to comment.