Merge branch 'fix/correct-typo-from-disbale-to-disable' into 'master'

fix: corrected typo from disbale to disable in numerous places

See merge request espressif/esp-idf!26644
This commit is contained in:
Zhang Hai Peng
2023-10-27 15:10:06 +08:00
5 changed files with 5 additions and 5 deletions

View File

@@ -120,7 +120,7 @@ static inline __attribute__((always_inline)) bool clk_ll_xtal32k_is_enabled(void
bool xtal_xpd_sw = (xtal_conf & RTC_CNTL_XTAL32K_XPD_FORCE) >> RTC_CNTL_XTAL32K_XPD_FORCE_S;
/* If xtal xpd software control is on */
bool xtal_xpd_st = (xtal_conf & RTC_CNTL_XPD_XTAL_32K) >> RTC_CNTL_XPD_XTAL_32K_S;
// disabled = xtal_xpd_sw && !xtal_xpd_st; enabled = !disbaled
// disabled = xtal_xpd_sw && !xtal_xpd_st; enabled = !disabled
bool enabled = !xtal_xpd_sw || xtal_xpd_st;
return enabled;
}