Update main.c

pull/78/head
alanbjohnston 5 years ago committed by GitHub
parent 2a81c4d4a5
commit 115aaeff58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1086,7 +1086,7 @@ void get_tlm_fox() {
sleep((unsigned int)sleepTime); sleep((unsigned int)sleepTime);
*/ */
sleep(2.3); // No sleep at all! sleep(2.3); // No sleep at all!
// sleep(1.3);
digitalWrite(txLed, txLedOff); digitalWrite(txLed, txLedOff);
#ifdef DEBUG_LOGGING #ifdef DEBUG_LOGGING
@ -1184,13 +1184,13 @@ else {
int count1; int count1;
char * token; char * token;
// char cmdbuffer[1000]; // char cmdbuffer[1000];
/* /**/
// FILE * file = popen(pythonStr, "r"); // FILE * file = popen(pythonStr, "r");
fputc('\n', file1); fputc('\n', file1);
fgets(cmdbuffer, 1000, file1); fgets(cmdbuffer, 1000, file1);
// printf("Python read Result: %s\n", cmdbuffer); // printf("Python read Result: %s\n", cmdbuffer);
// pclose(file); // pclose(file);
*/ /**/
const char space[2] = " "; const char space[2] = " ";
token = strtok(cmdbuffer, space); token = strtok(cmdbuffer, space);

Loading…
Cancel
Save

Powered by TurnKey Linux.