Skip to content
Snippets Groups Projects
Commit a98c7cf5 authored by Daniel Agar's avatar Daniel Agar
Browse files

generate uorb topic helper rename px4_printf to print_field

parent 55466e53
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,6 @@ void print_message(const @uorb_struct& message)
printf(" @(uorb_struct)\n");
printf("\ttimestamp: %" PRIu64 " (%.6f seconds ago)\n", message.timestamp, hrt_elapsed_time(&message.timestamp) / 1e6);
@[for field in sorted_fields]@
@( px4_printf(field) )
@( print_field(field) )
@[end for]
}
\ No newline at end of file
......@@ -179,7 +179,7 @@ def convert_type(spec_type):
return c_type
def px4_printf(field):
def print_field(field):
"""
Echo printf line
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment