mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-25 15:27:17 +00:00
commit
5184279944
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user