mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 07:47:35 +08:00
generate uorb topic helper rename px4_printf to print_field
This commit is contained in:
@@ -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]
|
||||
}
|
||||
Reference in New Issue
Block a user