Update telem.c

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

@ -148,7 +148,7 @@ struct SensorConfig config_sensor(char *bus, int address, int milliAmps) {
// printf("2\n");
// i2cdetect = popen("echo $?", "r");
// printf("i2cdetect 0 output: %d\n", getc(i2cdetect));
int error = pclose(i2cdetect2)/256;
error = pclose(i2cdetect2)/256;
printf("%s error: %d \n", &command, error);
/* printf("3\n");

Loading…
Cancel
Save

Powered by TurnKey Linux.