From 9d2e875501f219bfe411cdfb514e235592c4cc57 Mon Sep 17 00:00:00 2001 From: bsongis Date: Thu, 3 May 2012 14:59:12 +0000 Subject: [PATCH] uint16_t is needed here --- src/myeeprom.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/myeeprom.h b/src/myeeprom.h index 7da4b918d..1047eccff 100644 --- a/src/myeeprom.h +++ b/src/myeeprom.h @@ -568,9 +568,9 @@ PACK(typedef struct t_ModelData { int8_t servoCenter[NUM_CHNOUT]; // TODO:temporary place, need to move to frskydata - uint8_t varioSource:4; - uint8_t varioSpeedUpMin:5; // if increment in 0.2m/s = 3.0m/s max - uint8_t varioSpeedDownMin:7; + uint16_t varioSource:4; + uint16_t varioSpeedUpMin:5; // if increment in 0.2m/s = 3.0m/s max + uint16_t varioSpeedDownMin:7; }) ModelData; extern EEGeneral g_eeGeneral;