From 80421e092f8fc1c06c885a20d0a20a7253e2bdc8 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 12:40:37 -0500 Subject: [PATCH] spelling: acquire Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- platform/robert/boot/src/drivers/max14690_pmic.c | 2 +- platform/snowy/boot/src/drivers/pmic/max14690_pmic.c | 2 +- src/fw/drivers/pmic/max14690_pmic.c | 2 +- .../services/common/bluetooth/bluetooth_persistent_storage.h | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/platform/robert/boot/src/drivers/max14690_pmic.c b/platform/robert/boot/src/drivers/max14690_pmic.c index 3713fc32..5ec10164 100644 --- a/platform/robert/boot/src/drivers/max14690_pmic.c +++ b/platform/robert/boot/src/drivers/max14690_pmic.c @@ -239,7 +239,7 @@ bool pmic_enable_battery_measure(void) { bool pmic_disable_battery_measure(void) { bool result = prv_set_mon_config_register(0); - // Releases the lock that was previously aquired in pmic_enable_battery_measure. + // Releases the lock that was previously acquired in pmic_enable_battery_measure. prv_mon_config_unlock(); return result; diff --git a/platform/snowy/boot/src/drivers/pmic/max14690_pmic.c b/platform/snowy/boot/src/drivers/pmic/max14690_pmic.c index 806c7873..9fff9a7a 100644 --- a/platform/snowy/boot/src/drivers/pmic/max14690_pmic.c +++ b/platform/snowy/boot/src/drivers/pmic/max14690_pmic.c @@ -261,7 +261,7 @@ bool pmic_enable_battery_measure(void) { bool pmic_disable_battery_measure(void) { bool result = prv_set_mon_config_register(0); - // Releases the lock that was previously aquired in pmic_enable_battery_measure. + // Releases the lock that was previously acquired in pmic_enable_battery_measure. prv_mon_config_unlock(); return result; diff --git a/src/fw/drivers/pmic/max14690_pmic.c b/src/fw/drivers/pmic/max14690_pmic.c index 45d814af..748a164c 100644 --- a/src/fw/drivers/pmic/max14690_pmic.c +++ b/src/fw/drivers/pmic/max14690_pmic.c @@ -359,7 +359,7 @@ bool pmic_enable_battery_measure(void) { bool pmic_disable_battery_measure(void) { bool result = prv_set_mon_config_register(0); - // Releases the lock that was previously aquired in pmic_enable_battery_measure. + // Releases the lock that was previously acquired in pmic_enable_battery_measure. prv_mon_config_unlock(); return result; diff --git a/src/fw/services/common/bluetooth/bluetooth_persistent_storage.h b/src/fw/services/common/bluetooth/bluetooth_persistent_storage.h index 981bc968..443c085f 100644 --- a/src/fw/services/common/bluetooth/bluetooth_persistent_storage.h +++ b/src/fw/services/common/bluetooth/bluetooth_persistent_storage.h @@ -93,7 +93,7 @@ bool bt_persistent_storage_has_ble_ancs_bonding(void); bool bt_persistent_storage_has_active_ble_gateway_bonding(void); //! Runs the callback for each BLE pairing -//! The callback is NOT allowed to aquire the bt_lock() (or we could deadlock). +//! The callback is NOT allowed to acquire the bt_lock() (or we could deadlock). void bt_persistent_storage_for_each_ble_pairing(BtPersistBondingDBEachBLE cb, void *context); //! Registers all the existing BLE bondings with the BT driver lib. @@ -125,7 +125,7 @@ BTBondingID bt_persistent_storage_get_bt_classic_pairing_by_addr(BTDeviceAddress bool bt_persistent_storage_has_active_bt_classic_gateway_bonding(void); //! Runs the callback for each BT Classic pairing -//! The callback is NOT allowed to aquire the bt_lock() (or we could deadlock). +//! The callback is NOT allowed to acquire the bt_lock() (or we could deadlock). void bt_persistent_storage_for_each_bt_classic_pairing(BtPersistBondingDBEachBTClassic cb, void *context);