Update telem.c

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

@ -258,7 +258,7 @@ int test_i2c_bus(int bus)
if (access(busString, W_OK | R_OK) >= 0) { // Test if I2C Bus 0 is present
// printf("bus is present\n\n");
char result[128];
char command_start = "timeout 10 i2cdetect -y ";
const char command_start[] = "timeout 10 i2cdetect -y ";
char command[50];
strcpy (command, command_start);
strcat (command, busS);

Loading…
Cancel
Save

Powered by TurnKey Linux.