mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-12 19:10:32 +03:00
Reverted unneeded version number updates
This commit is contained in:
parent
3ce7f7a1e0
commit
ae6fcbf374
2 changed files with 2 additions and 2 deletions
|
@ -181,7 +181,7 @@ void initDshotTelemetry(const timeUs_t looptimeUs)
|
|||
|
||||
// erpmToHz is used by bidir dshot and ESC telemetry
|
||||
erpmToHz = ERPM_PER_LSB / SECONDS_PER_MINUTE / (motorConfig()->motorPoleCount / 2.0f);
|
||||
edtAlwaysDecode = (motorConfig()->dev.useDshotEdt == DSHOT_EDT_FORCE);
|
||||
edtAlwaysDecode = motorConfig()->dev.useDshotEdt == DSHOT_EDT_FORCE;
|
||||
|
||||
#ifdef USE_RPM_FILTER
|
||||
if (motorConfig()->dev.useDshotTelemetry) {
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
#define DEFAULT_DSHOT_EDT DSHOT_EDT_OFF
|
||||
#endif
|
||||
|
||||
PG_REGISTER_WITH_RESET_FN(motorConfig_t, motorConfig, PG_MOTOR_CONFIG, 4);
|
||||
PG_REGISTER_WITH_RESET_FN(motorConfig_t, motorConfig, PG_MOTOR_CONFIG, 3);
|
||||
|
||||
void pgResetFn_motorConfig(motorConfig_t *motorConfig)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue