Sensor type & formula
This commit is contained in:
@@ -370,11 +370,11 @@ PACK(struct TelemetrySensor {
|
||||
uint8_t rxIndex:3; // 1 bit for module index, 2 bits for receiver index
|
||||
}) frskyInstance);
|
||||
uint8_t instance;
|
||||
NOBACKUP(uint8_t formula);
|
||||
NOBACKUP(uint8_t formula ENUM(TelemetrySensorFormula));
|
||||
} NAME(id2) FUNC(select_id2);
|
||||
char label[TELEM_LABEL_LEN]; // user defined label
|
||||
uint8_t subId;
|
||||
uint8_t type:1; // 0=custom / 1=calculated
|
||||
uint8_t type:1 ENUM(TelemetrySensorType); // 0=custom / 1=calculated
|
||||
// user can choose what unit to display each value in
|
||||
uint8_t spare1:1 SKIP;
|
||||
uint8_t unit:6;
|
||||
|
||||
Reference in New Issue
Block a user