Update main.c

pull/34/head
alanbjohnston 7 years ago committed by GitHub
parent fd474e5f1c
commit 3254cc0751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -204,13 +204,13 @@ int main(void) {
char header_str[] = "\x03\xf0hi hi ";
char header_str2[] = "echo -e \'KU2Y>CQ:hi hi ";
char footer_str[] = "\' | gen_packets -o telem.wav - && cat telem.wav | csdr convert_i16_f | csdr gain_ff 7000 | csdr convert_f_samplerf 20833 | sudo /home/pi/CubeSatSim/rpitx/rpitx -i- -m RF -f 434.9e3 &>/dev/null";
char footer_str[] = "\'" // | gen_packets -o telem.wav - && cat telem.wav | csdr convert_i16_f | csdr gain_ff 7000 | csdr convert_f_samplerf 20833 | sudo /home/pi/CubeSatSim/rpitx/rpitx -i- -m RF -f 434.9e3 &>/dev/null";
if (RPITX)
strcpy(str, header_str2);
else
strcpy(str, header_str);
"
int channel;
for (channel = 1; channel < 7; channel++) {
// printf("%d %d %d %d \n", tlm[channel][1], tlm[channel][2], tlm[channel][3], tlm[channel][4]);

Loading…
Cancel
Save

Powered by TurnKey Linux.