1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 14:55:21 +03:00

Merge pull request #4056 from brycedjohnson/dshot_cmd_workaround

Workaround for blheli 16.63 issue of motors not always reversing
This commit is contained in:
Martin Budden 2017-09-03 20:05:42 +01:00 committed by GitHub
commit 20b91c4178

View file

@ -384,7 +384,7 @@ void pwmWriteDshotCommand(uint8_t index, uint8_t motorCount, uint8_t command)
case DSHOT_CMD_SAVE_SETTINGS: case DSHOT_CMD_SAVE_SETTINGS:
case DSHOT_CMD_SPIN_DIRECTION_NORMAL: case DSHOT_CMD_SPIN_DIRECTION_NORMAL:
case DSHOT_CMD_SPIN_DIRECTION_REVERSED: case DSHOT_CMD_SPIN_DIRECTION_REVERSED:
repeats = 10; repeats = 20;
break; break;
default: default:
repeats = 1; repeats = 1;