mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 19:01:36 +08:00
mavlink: MavlinkStream API simplifyed
This commit is contained in:
@@ -908,7 +908,6 @@ Mavlink::configure_stream(const char *stream_name, const float rate)
|
||||
/* create new instance */
|
||||
stream = streams_list[i]->new_instance(this);
|
||||
stream->set_interval(interval);
|
||||
stream->subscribe();
|
||||
LL_APPEND(_streams, stream);
|
||||
|
||||
return OK;
|
||||
|
||||
Reference in New Issue
Block a user