Merge pull request #10096 from BBBits/development

KNX RX Val was being truncated
This commit is contained in:
Theo Arends 2020-12-08 21:31:43 +01:00 committed by GitHub
commit 86e1ddceb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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]);