projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a03aaac
)
altosui: Disable main deploy setting for TeleGPS
author
Keith Packard
<keithp@keithp.com>
Wed, 17 Apr 2013 00:47:17 +0000
(17:47 -0700)
committer
Keith Packard
<keithp@keithp.com>
Wed, 17 Apr 2013 17:40:05 +0000
(10:40 -0700)
Just like all of the other flight computer settings, disable the main
deploy altitude configuration for TeleGPS.
Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosConfigUI.java
patch
|
blob
|
history
diff --git
a/altosui/AltosConfigUI.java
b/altosui/AltosConfigUI.java
index 4fd0647efa860a3d47f8d4732a479e69cea14314..11f405938ba385118eed7bbf57c6665f20d93b55 100644
(file)
--- a/
altosui/AltosConfigUI.java
+++ b/
altosui/AltosConfigUI.java
@@
-719,6
+719,7
@@
public class AltosConfigUI
public void set_main_deploy(int new_main_deploy) {
main_deploy_value.setSelectedItem(Integer.toString(new_main_deploy));
+ main_deploy_value.setEnabled(new_main_deploy >= 0);
}
public int main_deploy() {