Update telem.c

pull/57/head
alanbjohnston 6 years ago committed by GitHub
parent ffa70811ce
commit 16c705173c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -251,8 +251,8 @@ int test_i2c_bus(int bus)
char busString[25];
char busS[5];
sprintf(busS, "%d", bus);
strcat (busString, busDev);
strcat (busString, busS);
strcat (busString, &busDev);
strcat (busString, &busS);
printf("Bus Dev String: %s \n", busString);
if (access(busString, W_OK | R_OK) >= 0) { // Test if I2C Bus 0 is present

Loading…
Cancel
Save

Powered by TurnKey Linux.