renamed GetProtocolVersion() to GetParserProtocolVersion()

This commit is contained in:
Ruixiang Du
2021-07-15 13:34:22 +08:00
parent 541ec08514
commit e96b078c05
12 changed files with 22 additions and 21 deletions

View File

@@ -49,7 +49,7 @@ int main(int argc, char **argv) {
bunker->Connect(device_name);
if (bunker->GetProtocolVersion() == ProtocolVersion::AGX_V2) {
if (bunker->GetParserProtocolVersion() == ProtocolVersion::AGX_V2) {
bunker->EnableCommandedMode();
std::cout << "Protocol version 2" << std::endl;
} else {