edited I2C troubleshooting suggestions

pull/51/head
alanbjohnston 6 years ago committed by GitHub
parent 06ff8256ce
commit 108d53ba28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -127,7 +127,7 @@ struct SensorConfig config_sensor(char *bus, int address, int milliAmps) {
struct SensorConfig data;
if (access(bus, W_OK | R_OK) < 0) { // Test if I2C Bus is missing
printf("ERROR: %s bus not present \n Check raspi-config Interfacing Options/I2C/Enable and /boot/config.txt \n", bus);
printf("ERROR: %s bus not present \n Check raspi-config Interfacing Options/I2C and /boot/config.txt \n", bus);
data.fd = OFF;
return (data);
}

Loading…
Cancel
Save

Powered by TurnKey Linux.