mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 23:07:17 +00:00
commit
5184279944
@ -556,8 +556,7 @@ void KNX_CB_Action(message_t const &msg, void *arg)
|
||||
|
||||
if (msg.data_len == 1) {
|
||||
// COMMAND
|
||||
tempchar[0] = msg.data[0];
|
||||
tempchar[1] = '\0';
|
||||
sprintf(tempchar,"%d",msg.data[0]);
|
||||
} else {
|
||||
// VALUE
|
||||
float tempvar = knx.data_to_2byte_float(msg.data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user