Subversion Repositories FlightCtrl

Rev

Rev 1197 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1197 Rev 1202
Line 1... Line 1...
1
#include <inttypes.h>
1
#include <inttypes.h>
2
#include "main.h"
2
#include "main.h"
3
//#include "fc.c"
-
 
-
 
3
 
Line 4... Line 4...
4
 
4
 
5
uint16_t LED1_Timing = 0;
5
uint16_t LED1_Timing = 0;
6
uint16_t LED2_Timing = 0;
6
uint16_t LED2_Timing = 0;
7
unsigned char J16Blinkcount = 0, J16Mask = 1;
7
unsigned char J16Blinkcount = 0, J16Mask = 1;
Line 26... Line 26...
26
 if(!delay--)  // 10ms Intervall
26
 if(!delay--)  // 10ms Intervall
27
  {
27
  {
Line 28... Line 28...
28
 
28
 
Line -... Line 29...
-
 
29
  delay = 4;
-
 
30
 
-
 
31
 
-
 
32
 
-
 
33
 
-
 
34
/*
-
 
35
  //Unterspannungswarnung -> UserParameter4
-
 
36
  if(UBat < EE_Parameter.UnterspannungsWarnung)
-
 
37
  {
-
 
38
   if(!J16Blinkcount--)
-
 
39
   {
-
 
40
     J16Blinkcount = Parameter_J16Timing-1;
-
 
41
     if(J16Mask == 1) J16Mask = 128; else J16Mask /= 2;
-
 
42
     if(J16Mask & EE_Parameter.UserParam4) J16_ON; else J16_OFF;
-
 
43
   }  
-
 
44
  }
29
  delay = 4;
45
 
30
 
46
*/
31
  //Wenn Höhe halten aktiv -Bitmuster = UserParameter1
47
  //Wenn Höhe halten aktiv -Bitmuster = UserParameter1
32
  if(HoehenReglerAktiv > 0 && Parameter_NaviGpsModeControl > 90 && Parameter_NaviGpsModeControl < 200)
48
  if(HoehenReglerAktiv > 0 && Parameter_NaviGpsModeControl > 90 && Parameter_NaviGpsModeControl < 200)
33
  {
49
  {