Fix output object, did not close all brackets in setPosition output
This commit is contained in:
parent
58f0d17779
commit
82c890e109
|
@ -52,7 +52,7 @@ void State::setPosition (json& msgData) {
|
|||
y = msgData["position"]["y"];
|
||||
w = msgData["position"]["w"];
|
||||
h = msgData["position"]["h"];
|
||||
cout << "{ \"position\" : { \"x\" : " << x << ", \"y\" : " << y << ", \"w\" : " << w << ", \"h\" : " << h << " }" << endl;
|
||||
cout << "{ \"position\" : { \"x\" : " << x << ", \"y\" : " << y << ", \"w\" : " << w << ", \"h\" : " << h << " } }" << endl;
|
||||
}
|
||||
|
||||
void State::setExposure (json& msgData) {
|
||||
|
|
Loading…
Reference in New Issue