uint16_t is needed here
This commit is contained in:
+3
-3
@@ -568,9 +568,9 @@ PACK(typedef struct t_ModelData {
|
|||||||
int8_t servoCenter[NUM_CHNOUT];
|
int8_t servoCenter[NUM_CHNOUT];
|
||||||
|
|
||||||
// TODO:temporary place, need to move to frskydata
|
// TODO:temporary place, need to move to frskydata
|
||||||
uint8_t varioSource:4;
|
uint16_t varioSource:4;
|
||||||
uint8_t varioSpeedUpMin:5; // if increment in 0.2m/s = 3.0m/s max
|
uint16_t varioSpeedUpMin:5; // if increment in 0.2m/s = 3.0m/s max
|
||||||
uint8_t varioSpeedDownMin:7;
|
uint16_t varioSpeedDownMin:7;
|
||||||
}) ModelData;
|
}) ModelData;
|
||||||
|
|
||||||
extern EEGeneral g_eeGeneral;
|
extern EEGeneral g_eeGeneral;
|
||||||
|
|||||||
Reference in New Issue
Block a user