revert mission timer to 32 bit, add signal level monitoring
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user