Update telem.c

pull/55/head
alanbjohnston 6 years ago committed by GitHub
parent e0087bacd9
commit 4705dd55e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -342,13 +342,14 @@ int main(int argc, char *argv[]) {
char *token;
const char space[2] = " ";
token = strtok(cmdbuffer, space);
for (count = 0; count < 8; count++)
{
token = strtok(cmdbuffer, space);
printf("voltage: %s ", token);
token = strtok(NULL, space);
printf("current: %s\n", token);
token = strtok(NULL, space);
}

Loading…
Cancel
Save

Powered by TurnKey Linux.