add PD and PTT settings for SR_FRS in SSTV mode

aprs-sr-frs
alanbjohnston 3 years ago committed by GitHub
parent 8955b1d27f
commit ad2ac5f2fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -266,6 +266,13 @@ int main(int argc, char * argv[]) {
printf("Power LED On\n");
#endif
if (mode == SSTV) {
pinMode(29, OUTPUT); // make SR_FRS transmit
digitalWrite(29, HIGH);
pinMode(28, OUTPUT);
digitalWrite(28, LOW);
}
config_file = fopen("sim.cfg", "w");
fprintf(config_file, "%s %d %8.4f %8.4f %s", call, reset_count, lat_file, long_file, sim_yes);
// fprintf(config_file, "%s %d", call, reset_count);

Loading…
Cancel
Save

Powered by TurnKey Linux.