From a3ed0f0f30d92c5396e2153958a5bf9a7988b99d Mon Sep 17 00:00:00 2001 From: Sam Hos Date: Mon, 4 Nov 2024 12:23:34 +0100 Subject: [PATCH] used wrong operator --- src/C++/Driver/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/C++/Driver/src/main.cpp b/src/C++/Driver/src/main.cpp index c8b9f2a..661246a 100644 --- a/src/C++/Driver/src/main.cpp +++ b/src/C++/Driver/src/main.cpp @@ -52,7 +52,7 @@ void parseMQTT(std::string &message){ else if(message == "down"){ robot.Rotate(-90); } - else if(message = "stop"){ + else if(message == "stop"){ robot.sendNullMessage(); } else{