mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-04 12:27:58 +00:00
Fixing gcc build warnings
This commit is contained in:
@@ -61,7 +61,7 @@ typedef struct Sdr_gpioCfg {
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* FUNCTION DECLARATIONS
|
* FUNCTION DECLARATIONS
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
void sdr_pwr_control(Sdr_gpioCfg *driver,
|
void sdr_pwr_control(const Sdr_gpioCfg *driver,
|
||||||
uint8_t control); /* TODO: hack to let OBC work */
|
uint8_t control); /* TODO: hack to let OBC work */
|
||||||
|
|
||||||
/* Schema hooks */
|
/* Schema hooks */
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
** RETURN TYPE : ReturnStatus
|
** RETURN TYPE : ReturnStatus
|
||||||
**
|
**
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
void sdr_pwr_control(Sdr_gpioCfg *sdr_gpioCfg, uint8_t control)
|
void sdr_pwr_control(const Sdr_gpioCfg *sdr_gpioCfg, uint8_t control)
|
||||||
{
|
{
|
||||||
/* Using configure instead of 'write' here since this pin is shared with
|
/* Using configure instead of 'write' here since this pin is shared with
|
||||||
* OBC and we don't want to configure then write if OBC has already
|
* OBC and we don't want to configure then write if OBC has already
|
||||||
|
|||||||
Reference in New Issue
Block a user