mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
fix: corrected typo from disbale to disable in numerous places
This commit is contained in:

committed by
zhanghaipeng

parent
ca32e5268b
commit
001b10ec45
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user