WiringPi: Update in response to the latest regulations about I2C/SPI nodes
Signed-off-by: Deokgyu Yang <secugyu@gmail.com> Change-Id: Ia6992332b157a6b078f5d1f67b280d2fc3a09774
This commit is contained in:
@@ -207,7 +207,7 @@ static void doI2Cdetect (UNU int argc, char *argv [])
|
||||
port = 1;
|
||||
break;
|
||||
case MODEL_ODROID_XU3:
|
||||
if (cmpKernelVersion(KERN_NUM_TO_REVISION, 5, 4, 0))
|
||||
if (cmpKernelVersion(KERN_NUM_TO_MAJOR, 5))
|
||||
port = 0;
|
||||
else
|
||||
port = 1;
|
||||
|
||||
Reference in New Issue
Block a user