pattern.c: alternative brake handling
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 26 Jun 2013 22:15:19 +0000 (00:15 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 26 Jun 2013 22:15:19 +0000 (00:15 +0200)
commitc64b858d2da4d676716d7b4474b67cf04c5ab5e9
treee6263e319b0b16ef5245ee3092d1c9ca79e7c9e8
parenta9f5950ef3cd0faa7bf628cb485bd24d7aafdb5b
pattern.c: alternative brake handling

- when braking, and pwmled0 (read) should be off, we set it to mode 1,
otherwise, we set it to mode 2.
firmware/pattern.c