Subversion Repositories FlightCtrl

Rev

Rev 1769 | Rev 1933 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1769 Rev 1912
Line 52... Line 52...
52
  {
52
  {
53
  if((EE_Parameter.BitConfig & CFG_MOTOR_BLINK) && !MotorenEin) {if(EE_Parameter.BitConfig & CFG_MOTOR_OFF_LED1) J16_ON; else J16_OFF;}
53
  if((EE_Parameter.BitConfig & CFG_MOTOR_BLINK) && !MotorenEin) {if(EE_Parameter.BitConfig & CFG_MOTOR_OFF_LED1) J16_ON; else J16_OFF;}
54
  else
54
  else
55
  if((EE_Parameter.J16Timing > 247) && (Parameter_J16Timing > 220)) {if(J16Bitmask & 128) J16_ON; else J16_OFF;}
55
  if((EE_Parameter.J16Timing > 247) && (Parameter_J16Timing > 220)) {if(J16Bitmask & 128) J16_ON; else J16_OFF;}
56
  else
56
  else
57
  if((EE_Parameter.J16Timing > 247) && (Parameter_J16Timing < 10))  {if(J16Bitmask & 128) J16_OFF; else J16_ON;}
57
  if((EE_Parameter.J16Timing > 247) && (Parameter_J16Timing < 5))  {if(J16Bitmask & 128) J16_OFF; else J16_ON;}
58
  else
58
  else
59
  if(!J16Blinkcount--)
59
  if(!J16Blinkcount--)
60
   {
60
   {
61
     J16Blinkcount = Parameter_J16Timing-1;
61
     J16Blinkcount = Parameter_J16Timing-1;
62
     if(J16Mask == 1) J16Mask = 128; else J16Mask /= 2;
62
     if(J16Mask == 1) J16Mask = 128; else J16Mask /= 2;
Line 75... Line 75...
75
  {
75
  {
76
  if((EE_Parameter.BitConfig & CFG_MOTOR_BLINK) && !MotorenEin) {if(EE_Parameter.BitConfig & CFG_MOTOR_OFF_LED2) J17_ON; else J17_OFF;}
76
  if((EE_Parameter.BitConfig & CFG_MOTOR_BLINK) && !MotorenEin) {if(EE_Parameter.BitConfig & CFG_MOTOR_OFF_LED2) J17_ON; else J17_OFF;}
77
  else
77
  else
78
  if((EE_Parameter.J17Timing > 247) && (Parameter_J17Timing > 220)) {if(J17Bitmask & 128) J17_ON; else J17_OFF;}
78
  if((EE_Parameter.J17Timing > 247) && (Parameter_J17Timing > 220)) {if(J17Bitmask & 128) J17_ON; else J17_OFF;}
79
  else
79
  else
80
  if((EE_Parameter.J17Timing > 247) && (Parameter_J17Timing < 10))  {if(J17Bitmask & 128) J17_OFF; else J17_ON;}
80
  if((EE_Parameter.J17Timing > 247) && (Parameter_J17Timing < 5))  {if(J17Bitmask & 128) J17_OFF; else J17_ON;}
81
  else
81
  else
82
  if(!J17Blinkcount--)
82
  if(!J17Blinkcount--)
83
   {
83
   {
84
     J17Blinkcount = Parameter_J17Timing-1;
84
     J17Blinkcount = Parameter_J17Timing-1;
85
     if(J17Mask == 1) J17Mask = 128; else J17Mask /= 2;
85
     if(J17Mask == 1) J17Mask = 128; else J17Mask /= 2;