Update telem.c

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

@ -147,6 +147,7 @@ struct SensorConfig config_sensor(char *bus, int address, int milliAmps) {
printf("OUTPUT: %s", buf);
}
*/
getc(i2cdetect);
int error = pclose(i2cdetect)/256;
printf("%s error: %d \n", &command, error);
@ -161,6 +162,7 @@ struct SensorConfig config_sensor(char *bus, int address, int milliAmps) {
printf("OUTPUT: %s", buf);
}
*/
getc(i2cdetect);
error = pclose(i2cdetect2)/256;
printf("%s error: %d \n", &command, error);

Loading…
Cancel
Save

Powered by TurnKey Linux.