Skip to content

Commit

Permalink
Merge pull request #3 from rdkcentral/develop
Browse files Browse the repository at this point in the history
Initial RDKE release for devicesettings
  • Loading branch information
sbarre01 authored Jun 18, 2024
2 parents 461f062 + 1483e98 commit 63edbcf
Show file tree
Hide file tree
Showing 21 changed files with 39 additions and 230 deletions.
9 changes: 1 addition & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
Contributing
============

If you wish to make code contributions to this project, the master source is hosted at [code.rdkcentral.com](https://code.rdkcentral.com/r/#/admin/projects/rdk/devices/raspberrypi/devicesettings).
You can submit your changes for review via that site.

Please follow the [workflow](https://wiki.rdkcentral.com/display/CMF/Gerrit+Development+Workflow) when making a contribution.

In order to contribute code, first-time users are requested to agree to the [license](https://wiki.rdkcentral.com/signup.action).

If you would like to contribute code to this project you can do so through GitHub by forking the repository and sending a pull request. Before RDK accepts your code into the project you must sign the RDK Contributor License Agreement (CLA).
202 changes: 0 additions & 202 deletions COPYING

This file was deleted.

1 change: 1 addition & 0 deletions COPYING
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##########################################################################
# If not stated otherwise in this file or this component's Licenses.txt
# If not stated otherwise in this file or this component's LICENSE
# file the following copyright and licenses apply:
#
# Copyright 2017 RDK Management
Expand Down
2 changes: 1 addition & 1 deletion dsAudio.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
Expand Down
2 changes: 1 addition & 1 deletion dsAudioSettings.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
Expand Down
2 changes: 1 addition & 1 deletion dsConfig.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
Expand Down
2 changes: 1 addition & 1 deletion dsConfig.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
Expand Down
2 changes: 1 addition & 1 deletion dsDefinitions.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
Expand Down
2 changes: 1 addition & 1 deletion dsDisplay.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
Expand Down
2 changes: 1 addition & 1 deletion dsFPD.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
Expand Down
2 changes: 1 addition & 1 deletion dsHost.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
Expand Down
2 changes: 1 addition & 1 deletion dsVideoDevice.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
Expand Down
2 changes: 1 addition & 1 deletion dsVideoDeviceSettings.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
Expand Down
5 changes: 2 additions & 3 deletions dsVideoPort.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
Expand Down Expand Up @@ -506,11 +506,10 @@ static uint32_t dsGetHdmiMode(dsVideoPortResolution_t *resolution)
* @param [in] handle Handle of the video port.
* @param [in] *resolution The address of a structure containing the video port
* resolution settings.
* @oaram [in] persist enable/disable flag for persistence storage
* @return Error Code.
* @retval ::dsError_t
*/
dsError_t dsSetResolution(intptr_t handle, dsVideoPortResolution_t *resolution, bool persist)
dsError_t dsSetResolution(intptr_t handle, dsVideoPortResolution_t *resolution)
{
/* Auto Select uses 720p. Should be converted to dsVideoPortResolution_t = 720p in DS-VOPConfig, not here */
printf("Inside dsSetResolution\n");
Expand Down
2 changes: 1 addition & 1 deletion dsVideoPortSettings.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
Expand Down
2 changes: 1 addition & 1 deletion dsVideoResolutionSettings.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
Expand Down
2 changes: 1 addition & 1 deletion dshalUtils.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2019 RDK Management
Expand Down
2 changes: 1 addition & 1 deletion dshalUtils.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
Expand Down
2 changes: 1 addition & 1 deletion resolutionsettings.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
If not stated otherwise in this file or this component's Licenses.txt file the
If not stated otherwise in this file or this component's LICENSE file the
following copyright and licenses apply:
Copyright 2017 RDK Management
Expand Down
18 changes: 18 additions & 0 deletions scripts/rpiDisplayEnable.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
#!/bin/sh
##########################################################################
# If not stated otherwise in this file or this component's LICENSE
# file the following copyright and licenses apply:
#
# Copyright 2024 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##########################################################################

if [[ "$1" == 2 ]]; then # This call is from rpidisplay.service
QueryPowerState | grep 'STANDBY' &> /dev/null
Expand Down
2 changes: 1 addition & 1 deletion systemd/rpiDisplay.service
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##########################################################################
# If not stated otherwise in this file or this component's Licenses.txt
# If not stated otherwise in this file or this component's LICENSE
# file the following copyright and licenses apply:
#
# Copyright 2016 RDK Management
Expand Down

0 comments on commit 63edbcf

Please sign in to comment.