Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js/fc.js
diff options
context:
space:
mode:
authorPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2019-03-13 21:32:23 +0300
committerPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2019-03-13 21:32:23 +0300
commit233f3c560e5936d3267711daa5c92c92afed3574 (patch)
tree36dd366cf89285a0c4498fdf775450bb789cb6c3 /js/fc.js
parent9e6e1aec116c017358ab17cf0b9be15ee67c3f86 (diff)
Render table and bind events
Diffstat (limited to 'js/fc.js')
-rw-r--r--js/fc.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/js/fc.js b/js/fc.js
index 54f65283..ee6cd1f8 100644
--- a/js/fc.js
+++ b/js/fc.js
@@ -1170,16 +1170,22 @@ var FC = {
return {
0: {
name: "Value",
- type: "value"
+ type: "value",
+ min: -1000000,
+ max: 1000000,
+ step: 1,
+ default: 0
},
1: {
name: "RC Channel",
type: "range",
- range: [1, 16]
+ range: [1, 16],
+ default: 1
},
2: {
name: "Flight",
type: "dictionary",
+ default: 0,
values: {
0: "ARM timer [s]",
1: "Home distance [m]",