Convert usermods from header to library

This commit is contained in:
Will Tatam
2025-01-11 21:42:41 +00:00
parent a5575bc3a0
commit 6e76a72d78
32 changed files with 208 additions and 4 deletions

View File

@@ -193,4 +193,7 @@ void InternalTemperatureUsermod::publishMqtt(const char *state, bool retain)
mqtt->publish(subuf, 0, retain, state);
}
#endif
}
}
static InternalTemperatureUsermod internal_temperature_v2;
REGISTER_USERMOD(internal_temperature_v2);

View File

@@ -0,0 +1,9 @@
{
"name:": "Internal_Temperature_v2",
"build": {
"srcDir": ".",
"includeDir": "../../wled00",
"libLDFMode": "chain+",
"libArchive": false
}
}