Skip to content

Add support for int16/int32 to CRSF parameters - #3491

Merged
pkendall64 merged 2 commits into
ExpressLRS:masterfrom
awigen:add-crsf-parameter-int16-int32
Mar 29, 2026
Merged

pkendall64 merged 2 commits into
ExpressLRS:masterfrom
awigen:add-crsf-parameter-int16-int32

Conversation

@awigen

@awigen awigen commented Jan 11, 2026 •

Copy link
Copy Markdown
Contributor

To support gyros, we need to be able to limit servo throws to avoid going past mechanical limits.
To support limits, we need to be able to adjust the limits in with CRSF parameter writes.
This PR adds the ability to write more than one byte parameters. (500us - 2500us)

@pkendall64 pkendall64 added enhancement 🪄 New feature or request V4.1 🍑 labels Jan 11, 2026
@awigen awigen mentioned this pull request Jan 18, 2026
Comment thread src/lib/tx-crsf/TXModuleEndpoint.cpp Outdated
}
}
parameterUpdateReq(requestOrigin, isElrsCalling, packetType, extMessage->payload[0], extMessage->payload[1]);
parameterUpdateReq(requestOrigin, isElrsCalling, packetType, extMessage->payload[0], extMessage->payload +1);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spacing
extMessage->payload + 1

@pkendall64
pkendall64 merged commit 30a563e into ExpressLRS:master Mar 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement 🪄 New feature or request V4.1 🍑

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants