diff --git a/src/custom_robot.cpp b/src/custom_robot.cpp index 0cbff79..3b9f166 100644 --- a/src/custom_robot.cpp +++ b/src/custom_robot.cpp @@ -207,7 +207,7 @@ void CustomRobot::onMqttMessage(const std::string& topic, const std::string& pay std::string controlTopic = config_.topic_prefix + "/" + config_.topic_cmd; if (topic == controlTopic) { - processCommand(message); + processCmd(message); } } catch (const std::exception& e) { LOG_ERROR("Error processing MQTT message: " + std::string(e.what()));