]> www.fi.muni.cz Git - bike-lights.git/commitdiff
pwm.c: PLL clock enabling code
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 6 Dec 2012 20:34:00 +0000 (21:34 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 6 Dec 2012 20:34:00 +0000 (21:34 +0100)
- factored out from init_pwm() in order to be able to suspend PLL also
during normal operation
- use _delay_us(100) instead of _delay_ms(1) as recommended by datasheet
- disable PLL in susp_pwm()


No differences found