Rev 2093 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2093 | Rev 2174 | ||
---|---|---|---|
Line 47... | Line 47... | ||
47 | #define CHK_POTI_OFF(b,a,off) {if(a < 248) b = a; else b = Poti[255 - a] - off;} |
47 | #define CHK_POTI_OFF(b,a,off) {if(a < 248) b = a; else b = Poti[255 - a] - off;} |
48 | #define CHK_POTI_MM(b,a,min,max) {CHK_POTI(b,a); LIMIT_MIN_MAX(b, min, max);} |
48 | #define CHK_POTI_MM(b,a,min,max) {CHK_POTI(b,a); LIMIT_MIN_MAX(b, min, max);} |
49 | #define CHK_POTI_MM_OFF(b,a,min,max,off) {CHK_POTI_OFF(b,a,off); LIMIT_MIN_MAX(b, min, max);} |
49 | #define CHK_POTI_MM_OFF(b,a,min,max,off) {CHK_POTI_OFF(b,a,off); LIMIT_MIN_MAX(b, min, max);} |
Line 50... | Line 50... | ||
50 | 50 | ||
51 | /// MartinW; added vars |
51 | /// MartinW; added vars |
52 | extern unsigned char Motors[8]; |
52 | extern unsigned char Motors[12]; //MartinR: sicherheitshalber geändert (war 8) |
53 | unsigned char Motorsmax[8]; |
53 | unsigned char Motorsmax[12]; //MartinR: sicherheitshalber geändert (war 8) |
54 | unsigned short MotorsTmax; |
54 | unsigned short MotorsTmax; |
55 | extern unsigned char updatemotors; |
55 | extern unsigned char updatemotors; |
56 | extern unsigned char loop1, loop2, loop3; |
56 | extern unsigned char loop1, loop2, loop3; |
57 | extern unsigned char settingdest; |
57 | extern unsigned char settingdest; |