mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
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:
commit
72fc360ad3
@ -54,7 +54,7 @@ typedef uint8_t esp_ble_auth_req_t; /*!< combination of the above bit
|
||||
#define ESP_BLE_ONLY_ACCEPT_SPECIFIED_AUTH_DISABLE 0 /*!< authentication disable*/
|
||||
#define ESP_BLE_ONLY_ACCEPT_SPECIFIED_AUTH_ENABLE 1 /*!< authentication enable*/
|
||||
|
||||
#define ESP_BLE_OOB_DISABLE 0 /*!< disbale the out of bond*/
|
||||
#define ESP_BLE_OOB_DISABLE 0 /*!< disable the out of bond*/
|
||||
#define ESP_BLE_OOB_ENABLE 1 /*!< enable the out of bond*/
|
||||
|
||||
/// relate to BTM_IO_CAP_xxx in stack/btm_api.h
|
||||
|
@ -4352,7 +4352,7 @@ void btm_ble_read_remote_features_complete(UINT8 *p)
|
||||
*******************************************************************************/
|
||||
void btm_ble_write_adv_enable_complete(UINT8 *p)
|
||||
{
|
||||
/* if write adv enable/disbale not succeed */
|
||||
/* if write adv enable/disable not succeed */
|
||||
if (*p != HCI_SUCCESS) {
|
||||
BTM_TRACE_ERROR("%s failed", __func__);
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -216,7 +216,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;
|
||||
}
|
||||
|
@ -122,7 +122,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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user