Resolve Truncated Value In KNX_RXx

This commit is contained in:
BBBits 2020-12-09 09:16:17 +13:00
parent 4453e24aa6
commit ad6fcd7459
1 changed files with 1 additions and 1 deletions

View File

@ -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]);