Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1755 → Rev 1756

/branches/MartinW_Jeti+/led.c
27,7 → 27,15
if(!delay--) // 10ms Intervall
{
delay = 4;
if(EE_Parameter.UserParam8 >0) // 2ms Intervall ///
{
delay = 0;
}
 
 
 
if(FCFlags & (FCFLAG_LOWBAT | FCFLAG_NOTLANDUNG | FCFLAG_I2CERR))
{
if(EE_Parameter.WARN_J16_Bitmask)
55,7 → 63,8
else
if((EE_Parameter.J16Timing > 247) && (Parameter_J16Timing > 220)) {if(J16Bitmask & 128) J16_ON; else J16_OFF;}
else
if((EE_Parameter.J16Timing > 247) && (Parameter_J16Timing < 10)) {if(J16Bitmask & 128) J16_OFF; else J16_ON;}
//if((EE_Parameter.J16Timing > 247) && (Parameter_J16Timing < 10)) {if(J16Bitmask & 128) J16_OFF; else J16_ON;} //original
if((EE_Parameter.J16Timing > 247) && (Parameter_J16Timing < 2)) {if(J16Bitmask & 128) J16_OFF; else J16_ON;} //bei <10 reagiert gar nicht mehr, bei mir ist "2" i.o.
else
if(!J16Blinkcount--)
{