Skip to content

RDKEMW-20793:Fetching default fpLED brightness from hostdatadefault - #280

Open
DakshayaniMV wants to merge 1 commit into
developfrom
feature/RDKEMW-20793-Brightness_from_host_data_default
Open

RDKEMW-20793:Fetching default fpLED brightness from hostdatadefault#280
DakshayaniMV wants to merge 1 commit into
developfrom
feature/RDKEMW-20793-Brightness_from_host_data_default

Conversation

@DakshayaniMV

Copy link
Copy Markdown

No description provided.

@DakshayaniMV
DakshayaniMV requested a review from a team as a code owner August 11, 2026 09:00
Copilot AI lite review requested due to automatic review settings August 11, 2026 09:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates front-panel LED (fpLED) brightness initialization logic in the device settings RPC server.

Changes:

  • Removes the compile-time default brightness override (dsFPD_BRIGHTNESS_DEFAULT) and its associated migration logic.
  • Initializes brightness persistence fallback using dsFPD_BRIGHTNESS_MAX.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread rpc/srv/dsFPD.c
Comment on lines 179 to 183
value = device::HostPersistence::getInstance().getProperty("Power.brightness", numberToString(maxBrightness));
_dsPowerBrightness = stringToNumber(value);

value = device::HostPersistence::getInstance().getProperty("Text.brightness", numberToString(maxBrightness));
_dsTextBrightness = stringToNumber(std::move(value));
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.

3 participants