add stop before rpitx restart

pull/127/head
alanbjohnston 5 years ago committed by GitHub
parent f57fcb140f
commit 31995f0a08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,6 +23,9 @@
int main(int argc, char * argv[]) {
FILE * rpitx_stop = popen("sudo systemctl stop rpitx", "r");
pclose(rpitx_stop);
printf("Test bus 1\n");
fflush(stdout);
i2c_bus1 = (test_i2c_bus(1) != -1) ? ON : OFF;

Loading…
Cancel
Save

Powered by TurnKey Linux.