mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Convert digital offset to percentage
Bump EEPROM Fix rounding
This commit is contained in:
parent
c0761eb619
commit
9f762aa88a
6 changed files with 9 additions and 9 deletions
|
@ -287,7 +287,7 @@ void resetMotorConfig(motorConfig_t *motorConfig)
|
|||
#endif
|
||||
motorConfig->maxthrottle = 2000;
|
||||
motorConfig->mincommand = 1000;
|
||||
motorConfig->digitalIdleOffset = 40;
|
||||
motorConfig->digitalIdleOffsetPercent = 3.0f;
|
||||
|
||||
int motorIndex = 0;
|
||||
for (int i = 0; i < USABLE_TIMER_CHANNEL_COUNT && motorIndex < MAX_SUPPORTED_MOTORS; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue