Skip to content

Commit

Permalink
bebob-plug-parser: pretty print for stream formats
Browse files Browse the repository at this point in the history
I forgot to add it.

Signed-off-by: Takashi Sakamoto <[email protected]>
  • Loading branch information
takaswie committed Mar 18, 2022
1 parent b24108c commit ef8e5c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hinawa-bebob-plug-parser
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,13 @@ def dump_plug_info_to_stdio_by_pprinter(fcp):
unit_plugs = PlugParser.parse_unit_plugs(fcp)
subunit_plugs = PlugParser.parse_subunit_plugs(fcp)
function_block_plugs = PlugParser.parse_function_block_plugs(fcp, subunit_plugs)
stream_formats = PlugParser.parse_stream_formats(fcp, unit_plugs)

pp = PrettyPrinter()
pp.pprint(unit_plugs)
pp.pprint(subunit_plugs)
pp.pprint(function_block_plugs)
pp.pprint(stream_formats)

ops = {
'0': dump_plug_info_to_stdio_as_ids_only,
Expand Down

0 comments on commit ef8e5c4

Please sign in to comment.