mirror of
https://github.com/anklimov/lighthub
synced 2025-12-07 04:09:49 +03:00
core fixes (int & tens val<1), mbus optimization
This commit is contained in:
@@ -20,7 +20,7 @@ int abstractIn::publish(long value, const char* subtopic)
|
||||
int abstractIn::publish(float value, const char* subtopic)
|
||||
{
|
||||
char valstr[16];
|
||||
printFloatValueToStr(value, valstr);
|
||||
printFloatValueToStr(valstr, value);
|
||||
return publish(valstr,subtopic);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user