Update main.c show sim telem in sstv

pi-sensors
Alan Johnston 3 months ago committed by GitHub
parent f65b291f75
commit 2b418da08a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1003,7 +1003,8 @@ int main(int argc, char * argv[]) {
FILE * fp = fopen("/home/pi/CubeSatSim/telem_string.txt", "w"); FILE * fp = fopen("/home/pi/CubeSatSim/telem_string.txt", "w");
if (fp != NULL) { if (fp != NULL) {
// printf("Writing telem_string.txt\n"); // printf("Writing telem_string.txt\n");
if (batteryVoltage != 4.5) { // if (batteryVoltage != 4.5) {
if (true) {
/* /*
if (c2cStatus == DISABLED) if (c2cStatus == DISABLED)
fprintf(fp, "BAT %4.2fV %4.0fmA\n", batteryVoltage, batteryCurrent); fprintf(fp, "BAT %4.2fV %4.0fmA\n", batteryVoltage, batteryCurrent);

Loading…
Cancel
Save

Powered by TurnKey Linux.