X-Git-Url: https://git.xandkar.net/?p=erlang-x-plane-data.git;a=blobdiff_plain;f=src%2Fx_plane_data.erl;h=0a31a42597683b5723c1b24bcc8cb047fa3805dd;hp=207673db855b1be9f38fb83f483d9742d1ddeb8e;hb=0e7a4f608ade6d1b05556eb6c19c407dfb83d543;hpb=cfe4f77b7b6746c9cae311b37e92f8f0ce378680 diff --git a/src/x_plane_data.erl b/src/x_plane_data.erl index 207673d..0a31a42 100644 --- a/src/x_plane_data.erl +++ b/src/x_plane_data.erl @@ -29,7 +29,7 @@ of_bin(<>) -> -spec of_bin(binary(), non_neg_integer()) -> hope_result:t(t(), parsing_error()). of_bin(<<"DATA", _PacketIndexByte:1/bytes, ContiguousBlocks/binary>>, MaxIndex) -> - % Packet index byte seems to be changing from X-Plane version to verion. + % Packet index byte seems to be changing from X-Plane version to version. % What is it's meaning? if byte_size(ContiguousBlocks) rem ?BYTE_SIZE_OF_EACH_BLOCK =:= 0 -> Blocks = blocks_split(ContiguousBlocks),