revert mission timer to 32 bit, add signal level monitoring

This commit is contained in:
2025-05-05 09:02:48 +02:00
parent ee54abb663
commit 22d9f1f32a
10 changed files with 85 additions and 70 deletions

View File

@@ -18,7 +18,7 @@ typedef struct __attribute__((packed))
char syncPhrase[10]; //10
uint32_t packetIndex; //14
uint8_t packetType; //15
uint64_t missionTimer; //19
uint32_t missionTimer; //19
uint32_t CRCCheck;
} DownBoundPacket;

View File

@@ -202,6 +202,7 @@ void prepare_and_send_telemetry(uint64_t missionTimer)
fsync(fileno(csvFile)); // Critical: this ensures actual write to disk
}
printf("Sending %d byte packet hehe\n", offset);
send_packet_without_retries(bufOut, offset);
packetReadiness = 0;
}