Public Access
Update protocol_goldenmate.cpp
This commit is contained in:
1 parent
3ca23e9bf4
commit
e28c0ef24e
1 file changed
+2
-1
@@ -15,8 +15,9 @@ REGISTER_UPS_PROTOCOL_FOR_VENDOR(
|
|||||||
[](UpsHidComponent *p) { return std::make_unique<GoldenMateProtocol>(p); },
|
[](UpsHidComponent *p) { return std::make_unique<GoldenMateProtocol>(p); },
|
||||||
"GoldenMate BMS", "GoldenMate / BMS Smart-Battery UPS", 200);
|
"GoldenMate BMS", "GoldenMate / BMS Smart-Battery UPS", 200);
|
||||||
|
|
||||||
|
// Register for vendor 0x075D with a UNIQUE macro name identifier
|
||||||
REGISTER_UPS_PROTOCOL_FOR_VENDOR(
|
REGISTER_UPS_PROTOCOL_FOR_VENDOR(
|
||||||
0x075D, GoldenMateProtocol,
|
0x075D, GoldenMateProtocol_075D,
|
||||||
[](UpsHidComponent *p) { return std::make_unique<GoldenMateProtocol>(p); },
|
[](UpsHidComponent *p) { return std::make_unique<GoldenMateProtocol>(p); },
|
||||||
"GoldenMate UPS", "GoldenMate UPS Pro", 200);
|
"GoldenMate UPS", "GoldenMate UPS Pro", 200);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user