X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=src%2Fx_plane_datum.erl;h=15b21aa9b12575f76066facdd0b392d6923b3fcd;hb=c9410825c5416a62558ac6bd108a1dbe6ffbc3c6;hp=cd55c2f499e394dfc93e7eefb17d3592c4d52170;hpb=cfe4f77b7b6746c9cae311b37e92f8f0ce378680;p=erlang-x-plane-data.git diff --git a/src/x_plane_datum.erl b/src/x_plane_datum.erl index cd55c2f..15b21aa 100644 --- a/src/x_plane_datum.erl +++ b/src/x_plane_datum.erl @@ -88,9 +88,9 @@ anonymous_of_bin( {error, {block_index_byte_out_of_range, Anonymous}} end; anonymous_of_bin(<>, _) -> - % This case shouldn't possible with a correct packet length, but we want to - % allow for possibility of using this module independently of it's parent, - % data module. + % This case shouldn't be possible with a correct packet length, but we want + % to allow for possibility of using this module independently of it's + % parent, data module. {error, {block_structure_invalid, Block}}. -spec identify_or_index(anonymous()) -> @@ -127,7 +127,7 @@ identify_or_index({20, V1, V2, V3, V4, V5, V6, V7, V8}) -> , on_runwy = V5 , alt_ind = V6 , lat_south = V7 - , lat_west = V8 + , lon_west = V8 }, {lat_lon_alt, Datum}; identify_or_index({Index, _, _, _, _, _, _, _, _}=Anonymous) ->