234,7 → 234,7 |
|
UART1_Configure(baudrate); |
|
UART1_CheckCommunicationActive = TRUE; // set global var to check UART communication in polling |
UART1_BaudrateFallbackTimeout = 700; // set global var to check UART communication in polling |
|
cmd_successful = 1; |
MKProtocol_CreateSerialFrame(&UART1_tx_buffer, 'F', NC_ADDRESS, 2, &FTP_command, 1, &cmd_successful, 1); |
246,6 → 246,7 |
{ |
u8 cmd_successful = 1; |
MKProtocol_CreateSerialFrame(&UART1_tx_buffer, 'F', NC_ADDRESS, 2, &FTP_command, 1, &cmd_successful, 1); |
UART1_BaudrateFallbackTimeout = 0; |
} |
break; |
|