mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-15 18:21:36 +08:00
MAVLink app: Fix usage of static struct, make streams list const
This commit is contained in:
@@ -2231,7 +2231,7 @@ protected:
|
||||
};
|
||||
|
||||
|
||||
StreamListItem *streams_list[] = {
|
||||
const StreamListItem *streams_list[] = {
|
||||
new StreamListItem(&MavlinkStreamHeartbeat::new_instance, &MavlinkStreamHeartbeat::get_name_static),
|
||||
new StreamListItem(&MavlinkStreamStatustext::new_instance, &MavlinkStreamStatustext::get_name_static),
|
||||
new StreamListItem(&MavlinkStreamCommandLong::new_instance, &MavlinkStreamCommandLong::get_name_static),
|
||||
|
||||
Reference in New Issue
Block a user