don't test for payload serial interface if AX5043 present

pull/29/head
alanbjohnston 6 years ago committed by GitHub
parent fca6b813fc
commit 9c153b9cb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -414,6 +414,8 @@ if (vB4)
// try connecting to Arduino payload using UART
if (!ax5043) // don't test if AX5043 is present
{
int uart_fd;
int payload = OFF;
@ -440,8 +442,7 @@ if (vB4)
{
fprintf (stderr, "Unable to open UART: %s\n", strerror (errno)) ;
}
}
int ret;
//uint8_t data[1024];

Loading…
Cancel
Save

Powered by TurnKey Linux.