lib/fit_parser/file/definition.rb in fit_parser-0.0.6 vs lib/fit_parser/file/definition.rb in fit_parser-0.0.7
- old
+ new
@@ -101,10 +101,10 @@
choice :global_message_number, selection: :architecture do
uint16le 0
uint16be 1
end
bit8 :field_count
- array :fields, type: Field, initial_length: :field_count
+ array :fields_arr, type: Field, initial_length: :field_count
def endianness
architecture.snapshot == 0 ? :little : :big
end