From: Jan "Yenya" Kasprzak Date: Fri, 19 Jul 2013 16:16:20 +0000 (+0200) Subject: Error flags, error reporting X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=bike-lights.git;a=commitdiff_plain;h=220d48069967aaae91c303f84b98f2bb36a51425;hp=220d48069967aaae91c303f84b98f2bb36a51425 Error flags, error reporting - all error flags are in the bit array err_flags, including braking and booting (this is unused yet, the idea is to report successful boot and pwmled init somehow). - error status is reported as num_pattern(err, 1) by the status LED - error status (if any) can be cleared by pressing the button 1 (which takes precedence over the panic mode) ---