ソースを参照

components/bt: Fix BT controller dead issue caused by clk overflow
components/bt: Fix assert(10, 9), when the AFPM happens

wangcheng 5 年 前
コミット
c33dc7afd1
2 ファイル変更1 行追加17 行削除
  1. 0 17
      components/bt/include/esp_bt.h
  2. 1 0
      components/esp_rom/esp32/ld/esp32.rom.ld

+ 0 - 17
components/bt/include/esp_bt.h

@@ -459,23 +459,6 @@ esp_err_t esp_bt_mem_release(esp_bt_mode_t mode);
  */
 esp_err_t esp_bt_sleep_enable(void);
 
-
-/**
- * @brief disable bluetooth modem sleep
- *
- * Note that this function shall not be invoked before esp_bt_controller_enable()
- *
- * If esp_bt_sleep_disable() is called, bluetooth controller will not be allowed to enter modem sleep;
- *
- * If ORIG modem sleep mode is in use, if this function is called, bluetooth controller may not immediately wake up if it is dormant then.
- * In this case, esp_bt_controller_wakeup_request() can be used to shorten the time for wakeup.
- *
- * @return
- *                  - ESP_OK : success
- *                  - other  : failed
- */
-esp_err_t esp_bt_sleep_disable(void);
-
 /**
  * @brief to check whether bluetooth controller is sleeping at the instant, if modem sleep is enabled
  *

+ 1 - 0
components/esp_rom/esp32/ld/esp32.rom.ld

@@ -661,6 +661,7 @@ PROVIDE ( ld_acl_rsw_frm_cbk = 0x40033bb0 );
 PROVIDE ( ld_sco_modify = 0x40031778 );
 PROVIDE ( lm_cmd_cmp_send = 0x40051838 );
 PROVIDE ( ld_sco_frm_cbk = 0x400349dc );
+PROVIDE ( ld_acl_sco_rsvd_check = 0x4002fa94 );
 PROVIDE ( ld_acl_sniff_frm_cbk = 0x4003482c );
 PROVIDE ( ld_inq_end = 0x4003ab48 );
 PROVIDE ( ld_inq_sched = 0x4003aba4 );