summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-10-08 02:06:08 +0200
committerJo-Philipp Wich <jow@openwrt.org>2015-10-08 02:06:08 +0200
commit222284578bb61c591ee7e3afabae2952682081f3 (patch)
tree6bbc9ac9b54e491e36916b1798dcc92fc32d84d8
parentbd504f552d9741cdb68086bd96161791d1a72734 (diff)
parent9eda8585d6df1912f907abe34ea727707eed75fc (diff)
Merge pull request #505 from roger-/dump1090-latlon
dump1090: lat/lon should be floats
-rw-r--r--applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua4
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