allow to change MAX_TX_QUEUE

This commit is contained in:
Marco Scholl 2024-05-19 23:52:21 +02:00
parent 97e15c7d92
commit f94bd0b674
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View File

@ -109,8 +109,6 @@
#define ACR0_FLAG_TRIGEN 0x08
#define ACR0_FLAG_V20VCLIMIT 0x04
#define MAX_TX_QUEUE 20
enum
{
TX_IDLE,

View File

@ -8,10 +8,15 @@
#include <stdint.h>
#define MAX_KNX_TELEGRAM_SIZE 263
#ifndef MAX_RX_QUEUE_BYTES
#define MAX_RX_QUEUE_BYTES MAX_KNX_TELEGRAM_SIZE + 50
#endif
#ifndef MAX_TX_QUEUE
#define MAX_TX_QUEUE 50
#endif
// __time_critical_func fallback
#ifndef ARDUINO_ARCH_RP2040
#define __time_critical_func(X) X