VC doesn't like binary constants

This commit is contained in:
Andre Bernet
2014-02-01 19:42:57 +01:00
committed by Bertrand Songis
parent 670bb0a0c5
commit 0b77d9921d
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1077,7 +1077,7 @@ PACK(typedef struct t_SwashRingData { // Swash Ring data
int16_t value:11;
uint16_t mode:5;
}) trim_t;
#define TRIM_MODE_NONE 0b11111
#define TRIM_MODE_NONE 0x1F // 0b11111
#else
#define trim_t int16_t
#endif