From 3ca2a02caeea1b7078dfad3e3e204722a790e55f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 2 Oct 2023 22:44:21 -0400 Subject: [PATCH] Update main.c add back in restart rpitx --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index bf844cc6..7374596c 100644 --- a/main.c +++ b/main.c @@ -70,8 +70,8 @@ int main(int argc, char * argv[]) { Serial.println("HAB mode enabled - balloon icon and BAT only telem and no low voltage shutdown"); #endif - //FILE * rpitx_restart = popen("sudo systemctl restart rpitx", "r"); - //pclose(rpitx_restart); + FILE * rpitx_restart = popen("sudo systemctl restart rpitx", "r"); + pclose(rpitx_restart); mode = FSK; frameCnt = 1;