You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ESP_RETURN_ON_FALSE(clk_info->mclk_div, ESP_ERR_INVALID_ARG, TAG, "sample rate is too large for the current clock source");
61
+
/* Check if the configuration is correct. Use float for check in case the mclk division might be carried up in the fine division calculation */
62
+
ESP_RETURN_ON_FALSE(clk_info->sclk / (float)clk_info->mclk>min_mclk_div, ESP_ERR_INVALID_ARG, TAG, "sample rate or mclk_multiple is too large for the current clock source");
ESP_RETURN_ON_FALSE(clk_info->mclk_div, ESP_ERR_INVALID_ARG, TAG, "sample rate is too large for the current clock source");
67
+
/* Check if the configuration is correct. Use float for check in case the mclk division might be carried up in the fine division calculation */
68
+
ESP_RETURN_ON_FALSE(clk_info->sclk / (float)clk_info->mclk>min_mclk_div, ESP_ERR_INVALID_ARG, TAG, "sample rate or mclk_multiple is too large for the current clock source");
0 commit comments