Fixed syntax error (a typical C++-is-not-python-error)
This commit is contained in:
parent
b0d3d2af30
commit
dc61911e7e
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ std::string ProtocolHasta::decodeData(const ControllerMessage& dataMsg) {
|
|||
if(method == 12){
|
||||
methodstring = "up";
|
||||
}
|
||||
else if(method == 1 or method == 8){ //is method 8 correct?
|
||||
else if(method == 1 || method == 8){ //is method 8 correct?
|
||||
methodstring = "down";
|
||||
}
|
||||
else if(method == 5){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue