mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
length is single byte as buffer should not exceed 32
This commit is contained in:
@@ -24,7 +24,7 @@ os_event_t recvTaskQueue[EMSUART_recvTaskQueueLen]; // our Rx queue
|
|||||||
// Important: do not use ICACHE_FLASH_ATTR !
|
// Important: do not use ICACHE_FLASH_ATTR !
|
||||||
//
|
//
|
||||||
static void emsuart_rx_intr_handler(void * para) {
|
static void emsuart_rx_intr_handler(void * para) {
|
||||||
static uint16_t length;
|
static uint8_t length;
|
||||||
static uint8_t uart_buffer[EMS_MAXBUFFERSIZE];
|
static uint8_t uart_buffer[EMS_MAXBUFFERSIZE];
|
||||||
|
|
||||||
// is a new buffer? if so init the thing for a new telegram
|
// is a new buffer? if so init the thing for a new telegram
|
||||||
|
|||||||
Reference in New Issue
Block a user