|
|
|
@ -1566,7 +1566,7 @@ void get_tlm_fox() {
|
|
|
|
|
|
|
|
|
|
|
|
if (mode == PACSAT)
|
|
|
|
if (mode == PACSAT)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
telem_binary = fopen("/home/pi/CubeSatSim/tlm.bin", "wb");
|
|
|
|
FILE *telem_binary = fopen("/home/pi/CubeSatSim/tlm.bin", "wb");
|
|
|
|
if (telem_binary != NULL) {
|
|
|
|
if (telem_binary != NULL) {
|
|
|
|
int bytes_written = fwrite(b, 78, 1, telem_binary);
|
|
|
|
int bytes_written = fwrite(b, 78, 1, telem_binary);
|
|
|
|
printf("Writing %d bytes to tlm.bin\n", bytes_written);
|
|
|
|
printf("Writing %d bytes to tlm.bin\n", bytes_written);
|
|
|
|
|