Fix build error for gcc 10
Thanks to @jens1 on the Odroid forum for notifying us Signed-off-by: Deokgyu Yang <secugyu@gmail.com> Change-Id: I0c1658246e92b4c1b135be002cb365bd46c8e764
This commit is contained in:
@@ -139,7 +139,7 @@ static const int phyToGpio_rev2[64] = {
|
|||||||
/*----------------------------------------------------------------------------*/
|
/*----------------------------------------------------------------------------*/
|
||||||
// wiringPi Pinmap control arrary
|
// wiringPi Pinmap control arrary
|
||||||
/*----------------------------------------------------------------------------*/
|
/*----------------------------------------------------------------------------*/
|
||||||
const int *pinToGpio, *phyToGpio;
|
extern const int *pinToGpio, *phyToGpio;
|
||||||
|
|
||||||
/* ADC file descriptor */
|
/* ADC file descriptor */
|
||||||
static int adcFds[2];
|
static int adcFds[2];
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
#define DRCN_ANALOG_READ 9
|
#define DRCN_ANALOG_READ 9
|
||||||
|
|
||||||
|
|
||||||
struct drcNetComStruct
|
extern struct drcNetComStruct
|
||||||
{
|
{
|
||||||
uint32_t pin ;
|
uint32_t pin ;
|
||||||
uint32_t cmd ;
|
uint32_t cmd ;
|
||||||
|
|||||||
Reference in New Issue
Block a user