projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dump1090: lat/lon should be floats
[project/luci.git]
/
applications
/
luci-app-dump1090
/
luasrc
/
model
/
cbi
/
dump1090.lua
diff --git
a/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua
b/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua
index
8559c52
..
4470a0d
100644
(file)
--- 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=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=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
max_range=s:option(Value, "max_range", translate("Absolute maximum range for position decoding"))
max_range.rmempty = true