json/info: brand and product configurable by compile variables
For MM builds brand = WLEDMM Will be used in WLED-Native - by Moustachauve Changed in bh1750, bme280, pir, json.cpp and wled.h
This commit is contained in:
@@ -1093,8 +1093,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); //WLEDMM + Moustachauve/Wled-Native
|
||||
root[F("product")] = F(WLED_PRODUCT_NAME); //WLEDMM + Moustachauve/Wled-Native
|
||||
root["mac"] = escapedMac;
|
||||
char s[16] = "";
|
||||
if (Network.isConnected())
|
||||
|
||||
Reference in New Issue
Block a user