typo: fixed spelling of protocol detector class name

This commit is contained in:
rdu
2022-10-18 15:04:36 +08:00
parent 1fb2f33f3d
commit 7410dacb58
6 changed files with 9 additions and 9 deletions

View File

@@ -49,7 +49,7 @@ int main(int argc, char **argv) {
std::unique_ptr<ScoutRobot> scout;
ProtocolDectctor detector;
ProtocolDetector detector;
if (detector.Connect(device_name)) {
auto proto = detector.DetectProtocolVersion(5);
if (proto == ProtocolVersion::AGX_V1) {