Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
armandas committed Oct 4, 2024
1 parent c10cc13 commit 7fec2a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions avr-hal-generic/src/usart_spi.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! MSPIM Implimentation
use crate::{port::PinOps, spi};

// This module just impliments a macro for SpiOps, since underlyingly, the Spi type can still be used since it just needs SpiOps
// This module just implements a macro for SpiOps, since underlyingly, the Spi type can still be used since it just needs SpiOps

/// Dummy Pin for MPSPIM
pub struct UsartSPIDummyPin;
Expand Down Expand Up @@ -35,7 +35,7 @@ impl PinOps for UsartSPIDummyPin {
pub type UsartSpi<H, USART, SCLKPIN, MOSIPIN, MISOPIN> =
spi::Spi<H, USART, SCLKPIN, MOSIPIN, MISOPIN, UsartSPIDummyPin>;

// Impliment SpiOps trait for USART
// Implement SpiOps trait for USART
#[macro_export]
macro_rules! add_usart_spi {
(
Expand Down
2 changes: 1 addition & 1 deletion mcu/atmega-hal/src/usart_spi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! | `atmega1284p` | 2 | Yes |
//! | `atmega8` | 1 | No |
// Supress warning because it doesn't recognise us using it in macros properly.
// Suppress warning because it doesn't recognise us using it in macros properly.
#[allow(unused_imports)]
use crate::port;

Expand Down

0 comments on commit 7fec2a5

Please sign in to comment.