buttons.c: setup mode rework
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 4 Jul 2013 22:51:29 +0000 (00:51 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 4 Jul 2013 22:51:29 +0000 (00:51 +0200)
commit027218898e542b66566914ce787f4a0821b5f908
tree251b1dfcb8691bf417e70c06b3cc52a2712c5cc6
parent22f204ec3a908acbf879f36e2826eed281c5f2a6
buttons.c: setup mode rework

See the comment near the top of buttons.c for the description of how
the setup mode works.
firmware/buttons.c
firmware/control.c
firmware/lights.h