uint16_t is needed here

This commit is contained in:
bsongis
2012-05-03 14:59:12 +00:00
parent 8f20e423f6
commit 9d2e875501
+3 -3
View File
@@ -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;