mirror of
https://github.com/thelsing/knx.git
synced 2025-01-07 00:05:47 +01:00
allow to change MAX_TX_QUEUE
This commit is contained in:
parent
97e15c7d92
commit
f94bd0b674
@ -109,8 +109,6 @@
|
|||||||
#define ACR0_FLAG_TRIGEN 0x08
|
#define ACR0_FLAG_TRIGEN 0x08
|
||||||
#define ACR0_FLAG_V20VCLIMIT 0x04
|
#define ACR0_FLAG_V20VCLIMIT 0x04
|
||||||
|
|
||||||
#define MAX_TX_QUEUE 20
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
TX_IDLE,
|
TX_IDLE,
|
||||||
|
@ -8,10 +8,15 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define MAX_KNX_TELEGRAM_SIZE 263
|
#define MAX_KNX_TELEGRAM_SIZE 263
|
||||||
|
|
||||||
#ifndef MAX_RX_QUEUE_BYTES
|
#ifndef MAX_RX_QUEUE_BYTES
|
||||||
#define MAX_RX_QUEUE_BYTES MAX_KNX_TELEGRAM_SIZE + 50
|
#define MAX_RX_QUEUE_BYTES MAX_KNX_TELEGRAM_SIZE + 50
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef MAX_TX_QUEUE
|
||||||
|
#define MAX_TX_QUEUE 50
|
||||||
|
#endif
|
||||||
|
|
||||||
// __time_critical_func fallback
|
// __time_critical_func fallback
|
||||||
#ifndef ARDUINO_ARCH_RP2040
|
#ifndef ARDUINO_ARCH_RP2040
|
||||||
#define __time_critical_func(X) X
|
#define __time_critical_func(X) X
|
||||||
|
Loading…
Reference in New Issue
Block a user