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:
Beat Küng
2021-10-20 08:10:05 +02:00
parent a0e72b35a4
commit 8a2b310b83
16 changed files with 330 additions and 347 deletions
@@ -72,7 +72,7 @@ int rpm_simulator_main(int argc, char *argv[])
// Publish data and let the user know what was published
rpm_pub.publish(rpm);
print_message(rpm);
print_message(ORB_ID(rpm), rpm);
return 0;
}