Make companion9x compile with recent changes

This commit is contained in:
bsongis
2012-04-05 07:12:03 +00:00
parent e7d404fff4
commit 2623aa00ed
6 changed files with 16 additions and 9 deletions
+3 -3
View File
@@ -375,8 +375,10 @@ PACK(typedef struct t_SwashRingData { // Swash Ring data
#if defined(PCBV4)
#define NUM_ROTARY_ENCODERS 2
#define ROTARY_ENCODER_MAX 1024
#define ROTARY_ENCODER_ARRAY int16_t rotaryEncoders[NUM_ROTARY_ENCODERS];
#else
#define NUM_ROTARY_ENCODERS 0
#define ROTARY_ENCODER_ARRAY
#endif
@@ -388,9 +390,7 @@ PACK(typedef struct t_PhaseData {
char name[6];
uint8_t fadeIn:4;
uint8_t fadeOut:4;
#if defined(PCBV4)
int16_t rotaryEncoders[NUM_ROTARY_ENCODERS];
#endif
ROTARY_ENCODER_ARRAY
}) PhaseData;
#define MAX_MODELS 16