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
+1 -1
View File
@@ -133,5 +133,5 @@ ORB_DECLARE(@multi_topic);
@[end for]
#ifdef __cplusplus
void print_message(const @uorb_struct& message);
void print_message(const orb_metadata *meta, const @uorb_struct& message);
#endif