From 9eda8585d6df1912f907abe34ea727707eed75fc Mon Sep 17 00:00:00 2001 From: Roger Date: Wed, 7 Oct 2015 18:16:03 -0500 Subject: [PATCH] dump1090: lat/lon should be floats Signed-off-by: Roger D --- applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua b/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua index 8559c52b89..4470a0d2f0 100644 --- a/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua +++ b/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua @@ -114,11 +114,11 @@ forward_mlat.default = false lat=s:option(Value, "lat", translate("Reference/receiver latitude for surface posn")) lat.rmempty = true -lat.datatype = "integer" +lat.datatype = "float" lon=s:option(Value, "lon", translate("Reference/receiver longitude for surface posn")) lon.rmempty = true -lon.datatype = "integer" +lon.datatype = "float" max_range=s:option(Value, "max_range", translate("Absolute maximum range for position decoding")) max_range.rmempty = true -- 2.30.2