From f48654845e2ea8d9b323f0e99a352c55713fe194 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 22 Jan 2026 22:57:29 -0500 Subject: [PATCH] Update main.c enable one start transmit --- main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.c b/main.c index cb445937..401653f3 100644 --- a/main.c +++ b/main.c @@ -134,12 +134,12 @@ int main(int argc, char * argv[]) { else fprintf(stderr, "Not a Pi Zero or Pi Zero 2\n"); - pi_zero_2_offset = 500; - if (uptime_sec < 30.0) { -// FILE * transmit_stop = popen("sudo systemctl start transmit", "r"); -// pclose(transmit_stop); + pi_zero_2_offset = 500; + if (uptime_sec < 30.0) { + FILE * transmit_stop = popen("sudo systemctl start transmit", "r"); + pclose(transmit_stop); fprintf(stderr, "Sleep 5 sec\n"); - sleep(5); // try sleep at start to help boot + sleep(5); // try sleep at start to help boot } } else {