]> www.fi.muni.cz Git - bike-lights.git/commitdiff
pwm.c: disable when not needed
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Tue, 28 May 2013 21:07:31 +0000 (23:07 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Tue, 28 May 2013 21:07:31 +0000 (23:07 +0200)
Timer/Counter 1 eats much power, especially with PLL clock. So let's
try to disable it when no PWM channel is active.


No differences found