added s parameter for single read of python sensor code

pull/88/head
alanbjohnston 5 years ago committed by GitHub
parent b46215d614
commit a8de8a1054
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -231,7 +231,7 @@ int main(int argc, char *argv[]) {
strcpy(pythonStr, pythonCmd); strcpy(pythonStr, pythonCmd);
strcat(pythonStr, busStr); strcat(pythonStr, busStr);
strcat(pythonConfigStr, pythonStr); strcat(pythonConfigStr, pythonStr);
strcat(pythonConfigStr, " c"); strcat(pythonConfigStr, " s");
char cmdbuffer[1000]; char cmdbuffer[1000];
FILE *file1 = sopen(pythonConfigStr); // try new function FILE *file1 = sopen(pythonConfigStr); // try new function

Loading…
Cancel
Save

Powered by TurnKey Linux.