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:
parent
76406f1f9c
commit
0a1b7a39bf
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue