Update telem.c

pull/51/head
alanbjohnston 5 years ago committed by GitHub
parent ed058bf57b
commit 83830a7f74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -142,7 +142,7 @@ struct SensorConfig config_sensor(char *bus, int address, int milliAmps) {
// printf("2\n");
// i2cdetect = popen("echo $?", "r");
// printf("getc i2cdetect 1 output: %d\n", getc(i2cdetect));
while (fgets(output, result, i2cdetect) != NULL) {
while (fgets(result, 128, i2cdetect) != NULL) {
;
// printf("result: %s", result);
}

Loading…
Cancel
Save

Powered by TurnKey Linux.