Rev 1921 | Rev 1942 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1921 | Rev 1933 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | #define Poti6 Poti[5] |
36 | #define Poti6 Poti[5] |
37 | #define Poti7 Poti[6] |
37 | #define Poti7 Poti[6] |
38 | #define Poti8 Poti[7] |
38 | #define Poti8 Poti[7] |
Line 39... | Line 39... | ||
39 | 39 | ||
- | 40 | #define CHK_POTI(b,a) {if(a < 248) b = a; else b = Poti[255 - a];} |
|
40 | #define CHK_POTI(b,a) {if(a < 248) b = a; else b = Poti[255 - a];} |
41 | #define CHK_POTI_OFF(b,a,off) {if(a < 248) b = a; else b = Poti[255 - a] - off;} |
- | 42 | #define CHK_POTI_MM(b,a,min,max) {CHK_POTI(b,a); LIMIT_MIN_MAX(b, min, max);} |
|
Line 41... | Line 43... | ||
41 | #define CHK_POTI_MM(b,a,min,max) {CHK_POTI(b,a); LIMIT_MIN_MAX(b, min, max);} |
43 | #define CHK_POTI_MM_OFF(b,a,min,max,off) {CHK_POTI_OFF(b,a,off); LIMIT_MIN_MAX(b, min, max);} |
42 | 44 | ||
43 | extern unsigned char Sekunde,Minute; |
45 | extern unsigned char Sekunde,Minute; |
44 | extern unsigned int BaroExpandActive; |
46 | extern unsigned int BaroExpandActive; |