Fix output object, did not close all brackets in setPosition output

This commit is contained in:
mmcwilliams 2024-05-15 12:02:44 -04:00
parent 58f0d17779
commit 82c890e109
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ void State::setPosition (json& msgData) {
y = msgData["position"]["y"]; y = msgData["position"]["y"];
w = msgData["position"]["w"]; w = msgData["position"]["w"];
h = msgData["position"]["h"]; 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) { void State::setExposure (json& msgData) {