mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Merge branch 'lock_active_features' of https://github.com/ProDrone/cleanflight into ProDrone-lock_active_features
Conflicts: src/test/unit/rc_controls_unittest.cc
This commit is contained in:
commit
0c1a6c5c2f
12 changed files with 79 additions and 10 deletions
|
@ -315,6 +315,15 @@ void pwmWriteMotor(uint8_t index, uint16_t value) {
|
|||
motors[index].value = value;
|
||||
}
|
||||
|
||||
void pwmShutdownPulsesForAllMotors(uint8_t motorCount)
|
||||
{
|
||||
uint8_t index;
|
||||
|
||||
for(index = 0; index < motorCount; index++){
|
||||
motors[index].value = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void pwmCompleteOneshotMotorUpdate(uint8_t motorCount) {
|
||||
lastOneShotUpdateMotorCount = motorCount;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue