mirror of
https://github.com/anklimov/lighthub
synced 2025-12-08 12:49:50 +03:00
interim modbus commit (untested)
This commit is contained in:
@@ -2161,7 +2161,7 @@ short thermoSetCurTemp(char *name, float t) {
|
||||
extArray = aJson.createArray(); //Create Ext Array
|
||||
|
||||
aJsonObject *ocurt = aJson.createItem(t); //Create float
|
||||
aJsonObject *oattempts = aJson.createItem(T_ATTEMPTS); //Create int
|
||||
aJsonObject *oattempts = aJson.createItem((long int) T_ATTEMPTS); //Create int
|
||||
aJson.addItemToArray(extArray, ocurt);
|
||||
aJson.addItemToArray(extArray, oattempts);
|
||||
aJson.addItemToArray(thermoItem, extArray); //Adding to thermoItem
|
||||
|
||||
Reference in New Issue
Block a user