From 0c9fefce3244552e2de54474609b65a7fbf43941 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Tue, 29 Jun 2021 11:41:37 +0200 Subject: [PATCH] urtps: rectify comment --- msg/templates/urtps/microRTPS_transport.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/msg/templates/urtps/microRTPS_transport.cpp b/msg/templates/urtps/microRTPS_transport.cpp index 45cef544f2..c4f3719f26 100644 --- a/msg/templates/urtps/microRTPS_transport.cpp +++ b/msg/templates/urtps/microRTPS_transport.cpp @@ -395,13 +395,10 @@ int UART_node::init() while (0 < ::read(uart_fd, (void *)&aux, 64)) { flush = true; - /** - * According to px4_time.h, px4_usleep() is only defined when lockstep is set - * to be used - */ #ifndef px4_usleep usleep(1000); #else + /* With PX4 px4_usleep() should be used. */ px4_usleep(1000); #endif /* px4_usleep */ }