1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00

Fixed parameter group violations in motorDevConfig_t, incremented EEPROM config version before 3.3.0 release.

This commit is contained in:
mikeller 2018-02-13 19:08:55 +13:00 committed by Michael Keller
parent a301a0019e
commit 7192e9de19
3 changed files with 3 additions and 4 deletions

View file

@ -165,14 +165,13 @@ typedef struct {
IO_t io;
} pwmOutputPort_t;
//CAVEAT: This is used in the `motorConfig_t` parameter group, so the parameter group constraints apply
typedef struct motorDevConfig_s {
uint16_t motorPwmRate; // The update rate of motor outputs (50-498Hz)
uint8_t motorPwmProtocol; // Pwm Protocol
uint8_t motorPwmInversion; // Active-High vs Active-Low. Useful for brushed FCs converted for brushless operation
uint8_t useUnsyncedPwm;
#ifdef USE_DSHOT_DMAR
uint8_t useBurstDshot;
#endif
ioTag_t ioTags[MAX_SUPPORTED_MOTORS];
} motorDevConfig_t;