Browse Source

Merge 1d50a1978d into c56902108e

pull/19/merge
Sonic-Amiga 3 years ago committed by GitHub
parent
commit
771702edc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      wiringPi/wiringPiI2C.c

2
wiringPi/wiringPiI2C.c

@ -224,7 +224,7 @@ int wiringPiI2CSetup (const int devId)
rev = piGpioLayout () ;
if (rev == 1)
if (rev == 1 || rev == ORANGEPI)
device = "/dev/i2c-0" ;
else
device = "/dev/i2c-1" ;

Loading…
Cancel
Save