projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd504f5
)
dump1090: lat/lon should be floats
author
Roger
<
[email protected]
>
Wed, 7 Oct 2015 23:16:03 +0000
(18:16 -0500)
committer
Roger
<
[email protected]
>
Wed, 7 Oct 2015 23:16:03 +0000
(18:16 -0500)
Signed-off-by: Roger D <
[email protected]
>
applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua
patch
|
blob
|
history
diff --git
a/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua
b/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua
index 8559c52b89c0ceb7f91512a622e9e70b658bc0d8..4470a0d2f0fab385a22bc652ef249ea5f2c4a0a4 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.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