Skip to content

Conversation

@pkendall64
Copy link
Collaborator

Extends upon #2977 to allow LR1121 targets to define a single RF path.
i.e. "Power Values" empty is no 900MHz path, "Power Values Dual" empty is no 2.4GHz path.

@pkendall64 pkendall64 force-pushed the LR1121-single-RF-path branch from 76f85da to 8e3181b Compare October 20, 2024 03:46
@pkendall64 pkendall64 force-pushed the LR1121-single-RF-path branch from 8e3181b to 5a983ba Compare October 20, 2024 03:48
@pkendall64 pkendall64 marked this pull request as ready for review October 20, 2024 23:40
pkendall64 and others added 2 commits October 21, 2024 16:34
Also check the supported rate in the SetRFLinkRate and bail early if not supported
SetRFLinkRate() is now set correctly with the current rate and the initial frequency configured.
@JyeSmith
Copy link
Member

JyeSmith commented Oct 21, 2024

Looks good. But I did have to move a rate check out of SetRFLinkRate(). Bombing out there would leave the rx on a random frequency and not ready to listen for a sync packet to reconnect. Now when you set the tx to a forbidden mode the rx will be configured correctly to reconnect when the tx changes back to the original mode.

@pkendall64
Copy link
Collaborator Author

Retested with your changes and look good.

config.GetRate() can return a disabled rf mode, which will get set on uartconnected.
@JyeSmith
Copy link
Member

Added an extra check to the menu. Plus a check to catch a default tx config with a forbidden mode saved.

Tested on the dev board.

image

@JyeSmith JyeSmith merged commit 7a2af13 into ExpressLRS:3.x.x-maintenance Nov 2, 2024
@pkendall64 pkendall64 deleted the LR1121-single-RF-path branch November 3, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants