Skip to content

Commit 985e6ec

Browse files
authored
Ping demo: fix indent (#40)
1 parent 66c5c9a commit 985e6ec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

rclc/ping_uros_agent/main.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ int usage()
4343

4444
void timer_callback(rcl_timer_t * timer, int64_t last_call_time)
4545
{
46-
(void) last_call_time;
47-
if (NULL != timer) {
48-
RCSOFTCHECK(rcl_publish(&publisher, &msg, NULL));
49-
printf("Sent: '%s'\n", msg.data.data);
46+
(void) last_call_time;
47+
if (NULL != timer) {
48+
RCSOFTCHECK(rcl_publish(&publisher, &msg, NULL));
49+
printf("Sent: '%s'\n", msg.data.data);
5050

5151
/**
5252
* If agent suddently goes down, we will exit the application.
@@ -61,7 +61,7 @@ void timer_callback(rcl_timer_t * timer, int64_t last_call_time)
6161
} else {
6262
printf("Agent is still up!\n\n");
6363
}
64-
}
64+
}
6565
}
6666

6767
int main(int argc, char ** argv)

0 commit comments

Comments
 (0)