From 9101c998ca0574ef58ec933f466d4e58d27ecb18 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Thu, 30 Jul 2015 13:33:27 -0400 Subject: [PATCH] Fix record label typo: lat_west -> lon_west --- README.md | 2 +- include/x_plane_data.hrl | 2 +- src/x_plane_data.app.src | 2 +- src/x_plane_datum.erl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 16c0a3d..7cc34b8 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ main(Port) -> , on_runwy = OnRunwy , alt_ind = AltInd , lat_south = LatSouth - , lat_west = LatWest + , lon_west = LatWest }, } = hope_kv_list:get(XPlaneData, lat_lon_alt), diff --git a/include/x_plane_data.hrl b/include/x_plane_data.hrl index e922992..d93611d 100644 --- a/include/x_plane_data.hrl +++ b/include/x_plane_data.hrl @@ -28,5 +28,5 @@ , on_runwy :: float() % 5 , alt_ind :: float() % 6 , lat_south :: float() % 7 - , lat_west :: float() % 8 + , lon_west :: float() % 8 }). diff --git a/src/x_plane_data.app.src b/src/x_plane_data.app.src index c4e86a9..ccad1bb 100644 --- a/src/x_plane_data.app.src +++ b/src/x_plane_data.app.src @@ -1,7 +1,7 @@ {application, x_plane_data, [ {description, "X-Plane UDP data packet parser."}, - {vsn, "0.0.0"}, + {vsn, "0.0.1"}, {registered, []}, {applications, [ kernel, diff --git a/src/x_plane_datum.erl b/src/x_plane_datum.erl index 3f6b11f..15b21aa 100644 --- a/src/x_plane_datum.erl +++ b/src/x_plane_datum.erl @@ -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) -> -- 2.20.1