fix: fix on bt slow clk src unable to reset on esp32-h4 and esp32-s31

This commit is contained in:
cjin
2026-07-29 15:36:03 +08:00
parent 744464271d
commit 287b7c72cd
@@ -171,7 +171,7 @@ void btdm_lp_set_lpclk_src(modem_clock_lpclk_src_t clk_src)
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;
}