Merge pull request #8126 from ascillato/patch-1

KNX: Fixed Console Log
This commit is contained in:
Theo Arends 2020-04-11 08:27:47 +02:00 committed by GitHub
commit 5184279944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -556,8 +556,7 @@ void KNX_CB_Action(message_t const &msg, void *arg)
if (msg.data_len == 1) { if (msg.data_len == 1) {
// COMMAND // COMMAND
tempchar[0] = msg.data[0]; sprintf(tempchar,"%d",msg.data[0]);
tempchar[1] = '\0';
} else { } else {
// VALUE // VALUE
float tempvar = knx.data_to_2byte_float(msg.data); float tempvar = knx.data_to_2byte_float(msg.data);