mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
check BBQKees as mfg
This commit is contained in:
@@ -1800,10 +1800,13 @@ String System::getBBQKeesGatewayDetails() {
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO add to header as a define
|
// mfg can be either "BBQKees" or "BBQKees Electronics"
|
||||||
if (EMSESP::nvs_.getString("mfg") != "BBQKees") {
|
auto mfg = EMSESP::nvs_.getString("mfg");
|
||||||
|
if (mfg) {
|
||||||
|
if (!mfg.startsWith("BBQKees")) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return "BBQKees Gateway Model " + EMSESP::nvs_.getString("model") + " v" + EMSESP::nvs_.getString("hwrevision") + "/" + EMSESP::nvs_.getString("batch");
|
return "BBQKees Gateway Model " + EMSESP::nvs_.getString("model") + " v" + EMSESP::nvs_.getString("hwrevision") + "/" + EMSESP::nvs_.getString("batch");
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user