mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Workaround for DSHOT motor test
This commit is contained in:
parent
449d26efee
commit
8a959d356a
4 changed files with 1 additions and 7 deletions
|
@ -58,8 +58,6 @@ void pwmWriteDigital(uint8_t index, uint16_t value)
|
|||
{
|
||||
motorDmaOutput_t * const motor = &dmaMotors[index];
|
||||
|
||||
motor->value = value;
|
||||
|
||||
motor->dmaBuffer[0] = (value & 0x400) ? MOTOR_BIT_1 : MOTOR_BIT_0;
|
||||
motor->dmaBuffer[1] = (value & 0x200) ? MOTOR_BIT_1 : MOTOR_BIT_0;
|
||||
motor->dmaBuffer[2] = (value & 0x100) ? MOTOR_BIT_1 : MOTOR_BIT_0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue