Skip to content

Ignore#53

Closed
lmolina wants to merge 1 commit into
mainfrom
fix/lamolina/MaxLRTxPowerLevel_subcmd_bit_check/orig
Closed

Ignore#53
lmolina wants to merge 1 commit into
mainfrom
fix/lamolina/MaxLRTxPowerLevel_subcmd_bit_check/orig

Conversation

@lmolina
Copy link
Copy Markdown
Collaborator

@lmolina lmolina commented May 21, 2026

Note

Medium Risk
Medium risk because it changes capability-gating logic for FUNC_ID_SERIALAPI_SETUP, which can enable/disable features (e.g., Long Range) depending on firmware-reported bitmasks.

Overview
Corrects the bit position math in SupportsSerialAPISetup_func() so extended SerialAPISetup subcommand support is checked against the proper bit within capabilities.supported_serialapi_bitmask.

This fixes an off-by-one error for subcommands in the 1..8 and 9..16 ranges, which affects feature checks like SerialAPI_SupportsLR().

Reviewed by Cursor Bugbot for commit f56044f. Bugbot is set up for automated code reviews on this repo. Configure here.

@lmolina lmolina changed the title Fix incorrect bit check for MaxLRTxPowerLevel in SupportsSerialAPISet… Ignore May 21, 2026
@lmolina
Copy link
Copy Markdown
Collaborator Author

lmolina commented May 21, 2026

@BugBot run

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit f56044f. Configure here.

@lmolina lmolina closed this May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants