works well

This commit is contained in:
sessionm21
2020-05-16 07:58:13 +01:00
parent 0b55fce9b8
commit d5c9e11e5f
3 changed files with 141 additions and 32 deletions

View File

@@ -47,7 +47,7 @@ static uint8_t rx_bit = 0;
static uint16_t rx_target;
static volatile uint8_t rx_buffer_head;
static volatile uint8_t rx_buffer_tail;
#define RX_BUFFER_SIZE 30
#define RX_BUFFER_SIZE 20
static volatile uint8_t rx_buffer[RX_BUFFER_SIZE];
const static uint32_t cycles_per_bit = 1667UL;