Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Nov 8, 2023
1 parent c52ae8b commit 3bdac91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/board/hardware/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ impl super::startup::StartupResources {
};

#[cfg(feature = "battery_max17055")]
let battery_monitor = Self::setup_batter_monitor_fg(
let battery_monitor = Self::setup_battery_monitor_fg(
peripherals.I2C0,
peripherals::Interrupt::I2C_EXT0,
io.pins.gpio35,
Expand Down
2 changes: 1 addition & 1 deletion src/board/hardware/v4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl super::startup::StartupResources {
&clocks,
);

let battery_monitor = Self::setup_batter_monitor_fg(
let battery_monitor = Self::setup_battery_monitor_fg(
peripherals.I2C0,
peripherals::Interrupt::I2C_EXT0,
io.pins.gpio36,
Expand Down
2 changes: 1 addition & 1 deletion src/board/startup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ impl StartupResources {
#[cfg(feature = "battery_max17055")]
#[inline(always)]
#[allow(clippy::too_many_arguments)]
pub(crate) async fn setup_batter_monitor_fg(
pub(crate) async fn setup_battery_monitor_fg(
i2c: BatteryFgI2cInstance,
i2c_interrupt: peripherals::Interrupt,
sda: impl Into<I2cSda>,
Expand Down

0 comments on commit 3bdac91

Please sign in to comment.