]> www.fi.muni.cz Git - bike-lights.git/commitdiff
firmware: buttons-press and pwrdown rework
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 21 Nov 2012 15:05:37 +0000 (16:05 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 21 Nov 2012 15:05:37 +0000 (16:05 +0100)
Reworked short and long button presses. The long press is now also
reported only _after_ release, which allows us to simplify the power-down
case in buttons.c, and even in main.c.


No differences found