From 640a4c21dc105ad36e3a417a2215091a8d469c6c Mon Sep 17 00:00:00 2001 From: bsongis Date: Sat, 18 Aug 2012 10:21:08 +0000 Subject: [PATCH] Correction for M$ VC++ which doesn't like mixing 16bits and 8bits bitfields... --- src/myeeprom.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/myeeprom.h b/src/myeeprom.h index 862a54ffb..9c7d6b551 100644 --- a/src/myeeprom.h +++ b/src/myeeprom.h @@ -194,8 +194,8 @@ PACK(typedef struct t_LimitData { int8_t max; int8_t ppmCenter; int16_t offset:14; - uint8_t symetrical:1; - uint8_t revert:1; + uint16_t symetrical:1; + uint16_t revert:1; }) LimitData; enum MixSources {