diff --git a/src/drivers/cdcacm_autostart/cdcacm_autostart.cpp b/src/drivers/cdcacm_autostart/cdcacm_autostart.cpp index d7ebbddd6b..3c963e7988 100644 --- a/src/drivers/cdcacm_autostart/cdcacm_autostart.cpp +++ b/src/drivers/cdcacm_autostart/cdcacm_autostart.cpp @@ -206,7 +206,8 @@ void CdcAcmAutostart::state_connecting() if (_ttyacm_fd < 0) { PX4_DEBUG("can't open port"); - goto fail; + // fail silently and keep trying to open the port + return; } if (_sys_usb_auto.get() == 2) {