mirror of
https://github.com/modelec/tirette.git
synced 2026-01-18 16:57:24 +01:00
patch pointer
This commit is contained in:
@@ -12,7 +12,7 @@ void MyClient::handleMessage(const std::string& message)
|
||||
// if get tirette => send tiretteState
|
||||
if (action == "tirette") {
|
||||
if (split(message, ";")[2] == "get tirette_state") {
|
||||
const std::string toSend = "tirette;start;set tirette_state;" + std::to_string(*tiretteState);
|
||||
const std::string toSend = "tirette;start;set tirette_state;" + std::to_string(tiretteState);
|
||||
this->sendMessage(toSend.c_str());
|
||||
}
|
||||
} else if (action == "ping")
|
||||
|
||||
Reference in New Issue
Block a user