mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 11:13:35 +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:
@@ -1045,7 +1045,7 @@ GPS::print_status()
|
||||
PX4_INFO("rate publication:\t\t%6.2f Hz", (double)_rate);
|
||||
PX4_INFO("rate RTCM injection:\t%6.2f Hz", (double)_rate_rtcm_injection);
|
||||
|
||||
print_message(_report_gps_pos);
|
||||
print_message(ORB_ID(sensor_gps), _report_gps_pos);
|
||||
}
|
||||
|
||||
if (_instance == Instance::Main && _secondary_instance.load()) {
|
||||
|
||||
Reference in New Issue
Block a user