mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-12 06:41:36 +08:00
topic_listener: avoid code generation, use existing metadata at runtime
This reduces flash size for v5 by ~110KB, the topic listener now only adds about 1.2KB.
This commit is contained in:
@@ -120,7 +120,7 @@ public:
|
||||
|
||||
|
||||
_battery_status_pub.publish(bat_status);
|
||||
print_message(bat_status);
|
||||
print_message(ORB_ID(battery_status), bat_status);
|
||||
};
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user