Update telem.c

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

@ -247,9 +247,9 @@ int main(int argc, char *argv[]) {
int test_i2c_bus(int bus)
{
int output = 1;
char *busDev = "/dev/i2c-";
char *busString[25];
char *busS[5];
char busDev[] = "/dev/i2c-";
char busString[25];
char busS[5];
sprintf(busS, "%d", bus);
strcat (busString, busDev);
strcat (busString, busS);

Loading…
Cancel
Save

Powered by TurnKey Linux.