From e28c0ef24e0136d3e43c2ad73cae9446ddb912e8 Mon Sep 17 00:00:00 2001 From: rwalker777 <49888088+rwalker777@users.noreply.github.com> Date: Sat, 2 May 2026 12:42:50 -0500 Subject: [PATCH] Update protocol_goldenmate.cpp --- components/ups_hid/protocol_goldenmate.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/ups_hid/protocol_goldenmate.cpp b/components/ups_hid/protocol_goldenmate.cpp index ae59237..7218d47 100644 --- a/components/ups_hid/protocol_goldenmate.cpp +++ b/components/ups_hid/protocol_goldenmate.cpp @@ -15,8 +15,9 @@ REGISTER_UPS_PROTOCOL_FOR_VENDOR( [](UpsHidComponent *p) { return std::make_unique(p); }, "GoldenMate BMS", "GoldenMate / BMS Smart-Battery UPS", 200); +// Register for vendor 0x075D with a UNIQUE macro name identifier REGISTER_UPS_PROTOCOL_FOR_VENDOR( - 0x075D, GoldenMateProtocol, + 0x075D, GoldenMateProtocol_075D, [](UpsHidComponent *p) { return std::make_unique(p); }, "GoldenMate UPS", "GoldenMate UPS Pro", 200);