Skip to content

Conversation

@pkendall64
Copy link
Collaborator

Moving the giant MAVLink FIFO into the SerialMAVLink class and having a shared telemetry buffer allows us to reduce the RAM using in both CRSF mode and MAVLink mode.

@pkendall64 pkendall64 requested review from CapnBry and mha1 June 2, 2025 03:51
@pkendall64 pkendall64 added enhancement 🪄 New feature or request V3.5 🍩 labels Jun 2, 2025
Copy link
Member

@CapnBry CapnBry left a comment

Choose a reason for hiding this comment

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

Just the fix I would have used for the mavlink buffer but goes above and beyond as usual. Thank you for moving the mavlink code into the mavlink class and out of the main loop too!

Tested with Betaflight and Rotorflight telemetry.

Copy link
Contributor

@mha1 mha1 left a comment

Choose a reason for hiding this comment

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

tested ok in CRSF mode with heavy telemetry load

@pkendall64 pkendall64 merged commit c98ff5a into ExpressLRS:3.x.x-maintenance Jun 3, 2025
48 checks passed
@pkendall64 pkendall64 deleted the reduce-ram-usage branch June 3, 2025 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement 🪄 New feature or request V3.5 🍩

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants