Skip to content

Commit 54b6e9e

Browse files
committed
refactor: apply clang-format to all lib source files
1 parent 55a6887 commit 54b6e9e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/APPTurtle/src/MicroRosClient.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ bool MicroRosClient::createEntities()
222222
else
223223
{
224224
m_isExecutorInitialized = true;
225-
isSuccessful = true;
225+
isSuccessful = true;
226226
}
227227
}
228228
}
@@ -244,7 +244,7 @@ void MicroRosClient::destroyEntities()
244244
/* Clean up entities in reverse order of initialization. */
245245
if (true == m_isExecutorInitialized)
246246
{
247-
ret = rclc_executor_fini(&m_executor);
247+
ret = rclc_executor_fini(&m_executor);
248248
m_isExecutorInitialized = false;
249249
}
250250

@@ -323,7 +323,7 @@ void MicroRosClient::waitingForAgentState()
323323
if (RMW_RET_OK == rmw_uros_ping_agent(MICRO_ROS_AGENT_PING_TIMEOUT, MICRO_ROS_AGENT_PING_ATTEMPTS))
324324
{
325325
m_timer.stop();
326-
m_state = STATE_CONNECTING;
326+
m_state = STATE_CONNECTING;
327327
m_numberOfConnectionAttempts = MAX_CONNECTING_ATTEMPTS;
328328
}
329329
else if (false == m_timer.isTimerRunning())

lib/PlatoonService/src/CollisionAvoidance.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class CollisionAvoidance
6969
*/
7070
CollisionAvoidance(Telemetry::Range closestProximityRangeValue, Telemetry::Range rangeThreshold) :
7171
m_closestProximityRangeValue(closestProximityRangeValue),
72-
m_rangeThreshold(rangeThreshold) {};
72+
m_rangeThreshold(rangeThreshold){};
7373

7474
/**
7575
* Default Destructor.

0 commit comments

Comments
 (0)