Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions helpers/frontpanel.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**

Check failure on line 1 in helpers/frontpanel.cpp

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'helpers/frontpanel.cpp' (Match: rdkcentral/rdkservices/1, 697 lines, url: https://github.com/rdkcentral/rdkservices/archive/GRT_v1.tar.gz, file: helpers/frontpanel.cpp)
* If not stated otherwise in this file or this component's LICENSE
* file the following copyright and licenses apply:
*
Expand Down Expand Up @@ -179,15 +179,15 @@
device::FrontPanelTextDisplay::getInstance("Text").setTextBrightness(clockBrightness);
#endif
globalLedBrightness = device::FrontPanelIndicator::getInstance("Power").getBrightness();
LOGINFO("Power light brightness, %d, power status %d", globalLedBrightness, powerStatus);
//LOGINFO("Power light brightness, %d, power status %d", globalLedBrightness, powerStatus);

for (uint i = 0; i < fpIndicators.size(); i++)
{
LOGWARN("Initializing light %s", fpIndicators.at(i).getName().c_str());
if (powerStatus)
/*if (powerStatus)
device::FrontPanelIndicator::getInstance(fpIndicators.at(i).getName()).setBrightness(globalLedBrightness);

device::FrontPanelIndicator::getInstance(fpIndicators.at(i).getName()).setState(false);
device::FrontPanelIndicator::getInstance(fpIndicators.at(i).getName()).setState(false);*/
}

if (powerStatus)
Expand Down
Loading