mirror of https://github.com/arendst/Tasmota.git
Merge pull request #10096 from BBBits/development
KNX RX Val was being truncated
This commit is contained in:
commit
86e1ddceb5
|
@ -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)
|
||||
{
|
||||
if (!toggle_inhibit) {
|
||||
char command[25];
|
||||
char command[35]; //4294967295.00 13chars + 17
|
||||
if (msg.data_len == 1) {
|
||||
// Command received
|
||||
snprintf_P(command, sizeof(command), PSTR("event KNXRX_CMND%d=%d"), ((chan->type) - KNX_SLOT1 + 1 ), msg.data[0]);
|
||||
|
|
Loading…
Reference in New Issue