multiwii/multiwii-firmware

Pilotlamp bug

Fvk1960 opened this issue · 1 comments

There seems to be a bug in the pilotlamp.
Better is:
if (alarmArray[9] == 1) {PilotLampSequence(100,B000111,2);return;} //I2C Error ==>All Blink ** just comment on the pattern ***
if (alarmArray[6] == 4) {PilotLampSequence(100,B0101<<8|B00010001,4);return;} //vbat critical ==>Running leds * Original Beeperon has no meaning or function here It is a light code pattern to be used for failsafe or vbat critical or something

Added return to avoid overlapping led steering to the pattern since both these pattern are intended for serious fault

Wrong program oeps