Allow product information to be specified at build time

This commit is contained in:
Christophe Gagnier
2024-02-07 02:09:03 -05:00
parent 7eae8f68d8
commit ed2950f73b
5 changed files with 26 additions and 8 deletions

View File

@@ -799,8 +799,8 @@ void serializeInfo(JsonObject root)
#endif
root[F("opt")] = os;
root[F("brand")] = "WLED";
root[F("product")] = F("FOSS");
root[F("brand")] = F(WLED_BRAND);
root[F("product")] = F(WLED_PRODUCT_NAME);
root["mac"] = escapedMac;
char s[16] = "";
if (Network.isConnected())