Use full custom to cope with the strange trainer mode defs

This commit is contained in:
Raphael Coeffic
2021-11-10 11:07:01 +01:00
parent 61e837f0b7
commit bcc1f55b37
16 changed files with 64 additions and 177 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ PACK(struct TelemetrySensor {
*/
PACK(struct TrainerModuleData {
uint8_t mode ENUM(TrainerMode);
uint8_t mode CUST(r_trainerMode,w_trainerMode);
uint8_t channelsStart;
int8_t channelsCount; // 0=8 channels
int8_t frameLength;