pull/1/head
alanbjohnston 7 years ago committed by GitHub
parent e87c5cacd5
commit 31ebe4247a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -129,7 +129,7 @@ int main(int argc, char *argv[])
setSpiSpeed(SPI_SPEED); setSpiSpeed(SPI_SPEED);
initializeSpi(); initializeSpi();
// printf("1\n"); // printf("1\n");
// Send one frame of CW Telem // Send one frame of CW Telem
// Initialize the AX5043 // Initialize the AX5043
retVal = axradio_init(); retVal = axradio_init();
@ -183,7 +183,7 @@ int main(int argc, char *argv[])
} }
usleep(200000); usleep(200000);
config_afsk(); // Now switch to AFSK Telem config_afsk(); // Now switch to AFSK Telem
while(1) { while(1) {
@ -213,10 +213,10 @@ int main(int argc, char *argv[])
config_cw(); config_cw();
// allocate space for the buffer // allocate space for the buffer
static uint8_t packet[MAX_MESSAGE_LENGTH + 1]; //static uint8_t packet[MAX_MESSAGE_LENGTH + 1];
int channel; // AO-7 telemetry format has 6 channels, 4 sub channels in each //int channel; // AO-7 telemetry format has 6 channels, 4 sub channels in each
int msg_length; //int msg_length;
while(1) { // loop forever while(1) { // loop forever
for (channel = 0; channel < 7; channel++) { for (channel = 0; channel < 7; channel++) {

Loading…
Cancel
Save

Powered by TurnKey Linux.