Commit 05b8feb
committed
Fix SRXL2 ESC build on non-DSHOT targets and regenerate Settings.md
CI on maintenance-10.x surfaced two issues:
- On targets without USE_DSHOT (e.g. BEEROTORF4) the build failed:
`pwmCompleteMotorUpdate` and the SRXL2 case in pwmMotorPreconfigure
lived inside `#if defined(USE_DSHOT)`, while fc_core.c calls
pwmCompleteMotorUpdate whenever USE_DSHOT || USE_SRXL2_ESC. Move
pwmCompleteMotorUpdate under `USE_DSHOT || USE_SRXL2_ESC`, keep its
digital body behind USE_DSHOT, and drop the unnecessary
motorConfigDigitalUpdateInterval() call from the SRXL2 case (SRXL2
paces itself in srxl2EscUpdate()).
- Regenerate docs/Settings.md so the SRXL2 value added to
motor_pwm_protocol is documented (settings_md CI check).
Verified by building BEEROTORF4 (no DSHOT), SPEEDYBEEF405WING (DSHOT)
and SITL.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GroYFi23gHDgj43xrTAVaY1 parent 6e7eced commit 05b8feb
2 files changed
Lines changed: 21 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3273 | 3273 | | |
3274 | 3274 | | |
3275 | 3275 | | |
| 3276 | + | |
3276 | 3277 | | |
3277 | 3278 | | |
3278 | 3279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
527 | 541 | | |
528 | 542 | | |
529 | 543 | | |
530 | 544 | | |
531 | 545 | | |
532 | 546 | | |
| 547 | + | |
533 | 548 | | |
534 | 549 | | |
535 | 550 | | |
| |||
585 | 600 | | |
586 | 601 | | |
587 | 602 | | |
| 603 | + | |
588 | 604 | | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | 605 | | |
599 | 606 | | |
600 | 607 | | |
| |||
620 | 627 | | |
621 | 628 | | |
622 | 629 | | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
623 | 634 | | |
624 | | - | |
625 | 635 | | |
626 | 636 | | |
627 | 637 | | |
| |||
0 commit comments