1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 01:35:21 +03:00

Allow 4 blades

This commit is contained in:
bsongis 2012-02-22 21:03:48 +00:00
parent 76406f1f9c
commit 0a1b7a39bf
2 changed files with 3 additions and 3 deletions

View file

@ -1991,7 +1991,7 @@ void menuProcTelemetry(uint8_t event)
lcd_puts(4, y, STR_BLADES);
lcd_outdezAtt(TELEM_COL2+FWNUM, y, 2+g_model.frsky.blades, sub==subN ? INVERS : 0);
if (sub==subN)
CHECK_INCDEC_MODELVAR(event, g_model.frsky.blades, 0, 1);
CHECK_INCDEC_MODELVAR(event, g_model.frsky.blades, 0, 2);
}
subN++;
#endif

View file

@ -256,8 +256,8 @@ PACK(typedef struct t_FrSkyData {
FrSkyChannelData channels[2];
uint16_t usrProto:3; // Protocol in FrSky user data, 0=None, 1=FrSky hub, 2=WS HowHigh
uint16_t imperial:1;
uint16_t blades:1; // How many blades for RPMs, 0=2 blades, 1=3 blades
uint16_t spare:3;
uint16_t blades:2; // How many blades for RPMs, 0=2 blades, 1=3 blades
uint16_t spare:2;
FrSkyBarData bars[4];
}) FrSkyData;