mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
Initialize all assigned servos even if some are missing (fix) (#14121)
This commit is contained in:
parent
456d9fd4a3
commit
d6739ed566
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ void servoDevInit(const servoDevConfig_t *servoConfig)
|
||||||
const ioTag_t tag = servoConfig->ioTags[servoIndex];
|
const ioTag_t tag = servoConfig->ioTags[servoIndex];
|
||||||
|
|
||||||
if (!tag) {
|
if (!tag) {
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
servos[servoIndex].io = IOGetByTag(tag);
|
servos[servoIndex].io = IOGetByTag(tag);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue