projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cacce8
)
altoslib: Expose public function to set state.product
author
Keith Packard
<keithp@keithp.com>
Wed, 17 Jun 2015 06:41:51 +0000
(23:41 -0700)
committer
Keith Packard
<keithp@keithp.com>
Wed, 17 Jun 2015 07:13:03 +0000
(
00:13
-0700)
Just adds a setter function for this value.
Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosState.java
patch
|
blob
|
history
diff --git
a/altoslib/AltosState.java
b/altoslib/AltosState.java
index ad032a1685af8548af8a3b763f6c8d447328b131..a120e0c7e1965b1caa14a8b289997d3aa69ddb48 100644
(file)
--- a/
altoslib/AltosState.java
+++ b/
altoslib/AltosState.java
@@
-1040,6
+1040,10
@@
public class AltosState implements Cloneable, Serializable {
return AltosLib.state_name(state);
}
+ public void set_product(String product) {
+ this.product = product;
+ }
+
public void set_state(int state) {
if (state != AltosLib.ao_flight_invalid) {
this.state = state;