mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
The RTC expects to be clocked from a 1kHz source. Previously it would re-configure GCLK2 from 32kHz to 1kHz when used. Since GCLK2 is also used by EIC, this would break external interrupts in strange and unexpected ways. Dedicate a 1kHz clock to it to avoid the damage.