Fixing gcc build warnings

This commit is contained in:
Jack Marriott
2018-11-28 22:11:51 -05:00
parent 34b6ab8e07
commit 77c1ddb659
2 changed files with 2 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ typedef struct Sdr_gpioCfg {
/*****************************************************************************
* 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 */
/* Schema hooks */

View File

@@ -36,7 +36,7 @@
** 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
* OBC and we don't want to configure then write if OBC has already