mirror of https://github.com/arendst/Tasmota.git
Resolve Truncated Value In KNX_RXx
This commit is contained in:
parent
4453e24aa6
commit
ad6fcd7459
|
@ -590,7 +590,7 @@ void KNX_CB_Action(message_t const &msg, void *arg)
|
||||||
else if ((chan->type >= KNX_SLOT1) && (chan->type <= KNX_SLOT5)) // KNX RX SLOTs (write command)
|
else if ((chan->type >= KNX_SLOT1) && (chan->type <= KNX_SLOT5)) // KNX RX SLOTs (write command)
|
||||||
{
|
{
|
||||||
if (!toggle_inhibit) {
|
if (!toggle_inhibit) {
|
||||||
char command[25];
|
char command[35]; //4294967295.00 13chars + 17
|
||||||
if (msg.data_len == 1) {
|
if (msg.data_len == 1) {
|
||||||
// Command received
|
// Command received
|
||||||
snprintf_P(command, sizeof(command), PSTR("event KNXRX_CMND%d=%d"), ((chan->type) - KNX_SLOT1 + 1 ), msg.data[0]);
|
snprintf_P(command, sizeof(command), PSTR("event KNXRX_CMND%d=%d"), ((chan->type) - KNX_SLOT1 + 1 ), msg.data[0]);
|
||||||
|
|
Loading…
Reference in New Issue