Skip to content

Commit 26f2d48

Browse files
authored
Merge pull request #692 from Khosos/patch-1
Update I2S.cpp to work with RTCZero library
2 parents 8983308 + 84e222f commit 26f2d48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/I2S/src/I2S.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ void I2SClass::enableClock(int divider)
422422
GCLK->GENCTRL.bit.ID = _clockGenerator;
423423
GCLK->GENCTRL.bit.SRC = src;
424424
GCLK->GENCTRL.bit.IDC = 1;
425+
GCLK->GENCTRL.bit.DIVSEL = 0;
425426
GCLK->GENCTRL.bit.GENEN = 1;
426427

427428
// enable

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy