Revision 32:cadb9025f1e0 fw/WiringPi/wiringPi/wiringPiI2C.c

View differences:

fw/WiringPi/wiringPi/wiringPiI2C.c
240 240
  if (rev == 1)
241 241
    device = "/dev/i2c-0" ;
242 242
  else
243
    device = "/dev/i2c-1" ;
243
    device = "/dev/i2c-0" ;
244 244

  
245 245
  return wiringPiI2CSetupInterface (device, devId) ;
246 246
}

Also available in: Unified diff