Fixed syntax error (a typical C++-is-not-python-error)

This commit is contained in:
Stefan Persson 2013-05-08 14:10:12 +02:00
parent b0d3d2af30
commit dc61911e7e

View file

@ -189,7 +189,7 @@ std::string ProtocolHasta::decodeData(const ControllerMessage& dataMsg) {
if(method == 12){ if(method == 12){
methodstring = "up"; 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"; methodstring = "down";
} }
else if(method == 5){ else if(method == 5){