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:
Deokgyu Yang
2021-03-12 17:57:23 +09:00
parent 6bf0d6c125
commit 2f8842f1ff
2 changed files with 2 additions and 2 deletions

View File

@@ -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];

View File

@@ -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 ;