Method: OpenC3::PacketParser.finish_create_command
- Defined in:
- lib/openc3/packets/parsers/packet_parser.rb
.finish_create_command(packet, commands, warnings) ⇒ Object
117 118 119 120 121 122 123 |
# File 'lib/openc3/packets/parsers/packet_parser.rb', line 117 def self.finish_create_command(packet, commands, warnings) warning = PacketParser.check_for_duplicate('Command', commands, packet) warnings << warning if warning packet.define_reserved_items() commands[packet.target_name] ||= {} packet end |