fix
This commit is contained in:
parent
bfd1776bba
commit
d3b39dbc9f
@ -3,7 +3,7 @@
|
|||||||
volatile static uint8_t rx_buffer[RX_BUFFER_SIZE] = {0};
|
volatile static uint8_t rx_buffer[RX_BUFFER_SIZE] = {0};
|
||||||
volatile static uint16_t rx_count = 0;
|
volatile static uint16_t rx_count = 0;
|
||||||
volatile static uint8_t uart_tx_busy = 1;
|
volatile static uint8_t uart_tx_busy = 1;
|
||||||
|
// кольцевой буффер
|
||||||
ISR(USART_RX_vect){
|
ISR(USART_RX_vect){
|
||||||
|
|
||||||
volatile static uint16_t rx_write_pos = 0;
|
volatile static uint16_t rx_write_pos = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user