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

Initialize all assigned servos even if some are missing (fix) (#14121)

This commit is contained in:
Ivan Efimov 2025-01-03 07:23:13 -06:00 committed by GitHub
parent 456d9fd4a3
commit d6739ed566
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -291,7 +291,7 @@ void servoDevInit(const servoDevConfig_t *servoConfig)
const ioTag_t tag = servoConfig->ioTags[servoIndex];
if (!tag) {
break;
continue;
}
servos[servoIndex].io = IOGetByTag(tag);