mirror of
https://github.com/anklimov/lighthub
synced 2025-12-08 20:59:49 +03:00
Now MQTT compatible with test.mosquitto.org free broker (empty User vs NULL user)
Few analog-in fixes. ESP32 compilation broken due doard definition changed. Trying to workaround it
This commit is contained in:
@@ -470,7 +470,7 @@ void Input::analogPoll() {
|
||||
// Mapping
|
||||
if (inputMap && inputMap->type == aJson_Array)
|
||||
{
|
||||
int max;
|
||||
int max=1024;
|
||||
if (aJson.getArraySize(inputMap)>=4)
|
||||
mappedInputVal = map (mappedInputVal,
|
||||
aJson.getArrayItem(inputMap, 0)->valueint,
|
||||
|
||||
Reference in New Issue
Block a user