mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix: fix on bt slow clk src unable to reset on esp32-h4 and esp32-s31
(cherry picked from commit 287b7c72cd)
Co-authored-by: cjin <jinchen@espressif.com>
This commit is contained in:
@@ -159,7 +159,7 @@ void btdm_lp_set_lpclk_src(modem_clock_lpclk_src_t clk_src)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (clk_src >= MODEM_CLOCK_LPCLK_SRC_MAX || clk_src <= MODEM_CLOCK_LPCLK_SRC_INVALID) {
|
if (clk_src >= MODEM_CLOCK_LPCLK_SRC_MAX) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user