|
|
@@ -72,7 +72,7 @@ static void shark_uart_rx(shark_uart_t *uart){
|
|
|
u8 data;
|
|
|
update_dma_w_pos(uart);
|
|
|
if (circle_get_one_data(&uart->rx_queue, &data) != 1) {
|
|
|
- if (shark_get_mseconds() >= (30 + _rx_time)) {
|
|
|
+ if (shark_get_mseconds() >= (5 + _rx_time)) {
|
|
|
//_rx_time = 0xFFFFFFFFFFFFL;
|
|
|
if (uart->rx_length_old_prot > 0){
|
|
|
protocol_old_recv_frame(_uart_index(uart->uart_com), uart->rx_frame_old_prot, uart->rx_length_old_prot);
|