Unverified Commit db7ba160 authored by David Ross Smith's avatar David Ross Smith Committed by GitHub

Allow MCLK multiplier to be set on all I2S devices (#1813)

As discussed in #1765.
parent ea936f00
......@@ -134,7 +134,7 @@ bool I2S::setSysClk(int samplerate) { // optimise sys_clk for desired samplerate
}
bool I2S::setMCLKmult(int mult) {
if (_running || !_isOutput) {
if (_running) {
return false;
}
if ((mult % 64) == 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment