diff options
author | Roger <roger-@users.noreply.github.com> | 2015-10-07 18:16:03 -0500 |
---|---|---|
committer | Roger <roger-@users.noreply.github.com> | 2015-10-07 18:16:03 -0500 |
commit | 9eda8585d6df1912f907abe34ea727707eed75fc (patch) | |
tree | 6bbc9ac9b54e491e36916b1798dcc92fc32d84d8 | |
parent | bd504f552d9741cdb68086bd96161791d1a72734 (diff) |
dump1090: lat/lon should be floats
Signed-off-by: Roger D <rogerdammit@gmail.com>
-rw-r--r-- | applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua | 4 |
1 files 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 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 |