Rev 559 | Rev 577 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 559 | Rev 573 | ||
---|---|---|---|
Line 51... | Line 51... | ||
51 | #define SPI_FCCMD_PARAMETER1 13 |
51 | #define SPI_FCCMD_PARAMETER1 13 |
52 | #define SPI_FCCMD_VERSION 14 |
52 | #define SPI_FCCMD_VERSION 14 |
53 | #define SPI_FCCMD_SERVOS 15 |
53 | #define SPI_FCCMD_SERVOS 15 |
54 | #define SPI_FCCMD_BL_ACCU 16 |
54 | #define SPI_FCCMD_BL_ACCU 16 |
55 | #define SPI_FCCMD_PARAMETER2 17 |
55 | #define SPI_FCCMD_PARAMETER2 17 |
- | 56 | #define SPI_FCCMD_NEUTRAL 18 |
|
- | 57 | #define SPI_FCCMD_SLOW 19 // kommt nicht vor |
|
Line 56... | Line 58... | ||
56 | 58 | ||
57 | #define CHK_POTI(b,a) { if(a < 248) b = a; else b = FC.Poti[255 - a]; } |
59 | #define CHK_POTI(b,a) { if(a < 248) b = a; else b = FC.Poti[255 - a]; } |
Line 58... | Line 60... | ||
58 | #define CHK_POTI_MM(b,a,min,max) {CHK_POTI(b,a); LIMIT_MIN_MAX(b, min, max); } |
60 | #define CHK_POTI_MM(b,a,min,max) {CHK_POTI(b,a); LIMIT_MIN_MAX(b, min, max); } |