Added FW version in the info message for the Prusa Connect

pull/89/head
Miroslav Pivovarsky 2024-11-20 21:14:27 +01:00
parent d9394e4c6b
commit d55035b31a
1 changed files with 3 additions and 0 deletions

View File

@ -269,6 +269,9 @@ void PrusaConnect::SendInfoToBackend() {
JsonObject config = json_data["config"].to<JsonObject>();
config["name"] = wifi->GetMdns();
config["firmware"] = SW_VERSION;
config["manufacturer"] = F("Prusa");
config["model"] = BOARD_NAME;
JsonObject resolution = config["resolution"].to<JsonObject>();
resolution["width"] = SystemCamera.GetFrameSizeWidth();