We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8983308 + 84e222f commit 26f2d48Copy full SHA for 26f2d48
1 file changed
libraries/I2S/src/I2S.cpp
@@ -422,6 +422,7 @@ void I2SClass::enableClock(int divider)
422
GCLK->GENCTRL.bit.ID = _clockGenerator;
423
GCLK->GENCTRL.bit.SRC = src;
424
GCLK->GENCTRL.bit.IDC = 1;
425
+ GCLK->GENCTRL.bit.DIVSEL = 0;
426
GCLK->GENCTRL.bit.GENEN = 1;
427
428
// enable
0 commit comments