From 15e63f4222b74aa49e7470dbacc3954dcd208b81 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Thu, 28 Mar 2024 09:14:46 +0100 Subject: [PATCH] fix(esp_pm): applied spelling fixes by codespell --- components/esp_pm/Kconfig | 2 +- components/esp_pm/pm_impl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_pm/Kconfig b/components/esp_pm/Kconfig index 5134b7d988..0652840b47 100644 --- a/components/esp_pm/Kconfig +++ b/components/esp_pm/Kconfig @@ -75,7 +75,7 @@ menu "Power Management" you can call 'gpio_sleep_sel_dis' to disable this feature on those pins. You can also keep this feature on and call 'gpio_sleep_set_direction' and 'gpio_sleep_set_pull_mode' to have a different GPIO configuration at sleep. - Waring: If you want to enable this option on ESP32, you should enable `GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL` + Warning: If you want to enable this option on ESP32, you should enable `GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL` at first, otherwise you will not be able to switch pullup/pulldown mode. config PM_SLP_DEFAULT_PARAMS_OPT diff --git a/components/esp_pm/pm_impl.c b/components/esp_pm/pm_impl.c index 62209081c6..e5ee45d230 100644 --- a/components/esp_pm/pm_impl.c +++ b/components/esp_pm/pm_impl.c @@ -120,7 +120,7 @@ static uint32_t s_mode_mask; #define PERIPH_SKIP_LIGHT_SLEEP_NO 2 -/* Indicates if light sleep shoule be skipped by peripherals. */ +/* Indicates if light sleep should be skipped by peripherals. */ static skip_light_sleep_cb_t s_periph_skip_light_sleep_cb[PERIPH_SKIP_LIGHT_SLEEP_NO]; /* Indicates if light sleep entry was skipped in vApplicationSleep for given CPU.