Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Geeoon committed Jul 18, 2024
1 parent 161c92d commit a5b5ff9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/network/MissionControlTasks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

#include "../Constants.h"
#include "../Globals.h"
#include "../base64/base64_img.h"
#include "../control_interface.h"
#include "../utils/core.h"
#include "../world_interface/world_interface.h"
#include "../base64/base64_img.h"
#include "MissionControlMessages.h"

#include <loguru.hpp>
Expand Down Expand Up @@ -155,9 +155,7 @@ void CameraStreamTask::sendCurrentFrame(const robot::types::CameraID& cam) {
}
}
}
json msg = {{"type", CAMERA_FRAME_REP_TYPE},
{"camera", cam},
{"data", b64_data}};
json msg = {{"type", CAMERA_FRAME_REP_TYPE}, {"camera", cam}, {"data", b64_data}};
_server.sendJSON(Constants::MC_PROTOCOL_NAME, msg);
}

Expand Down

0 comments on commit a5b5ff9

Please sign in to comment.