From: Roger Date: Wed, 7 Oct 2015 23:16:03 +0000 (-0500) Subject: dump1090: lat/lon should be floats X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9eda8585d6df1912f907abe34ea727707eed75fc;p=oweals%2Fluci.git dump1090: lat/lon should be floats Signed-off-by: Roger D --- diff --git a/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua b/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua index 8559c52b8..4470a0d2f 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