Skip to content

Commit

Permalink
Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
doosuu committed Aug 19, 2023
1 parent aa85b5c commit 7247d15
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/seat-adjuster/src/SeatAdjusterApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ void SeatAdjusterApp::onSetPositionRequestReceived(const std::string& data) {
nlohmann::json respData({{JSON_FIELD_REQUEST_ID, requestId}, {JSON_FIELD_RESULT, {}}});
const auto vehicleSpeed = m_vehicleModel->Speed.get()->await().value();
if (vehicleSpeed == 0) {
velocitas::vehicle::cabin::SeatService::SeatLocation location{1, 1};
m_vehicleModel->Cabin.Seat.Row1.Pos1.Position.set(desiredSeatPosition)->await();

respData[JSON_FIELD_RESULT][JSON_FIELD_STATUS] = STATUS_OK;
Expand Down

0 comments on commit 7247d15

Please sign in to comment.