diff options
author | Keith Packard <keithp@keithp.com> | 2014-07-02 22:48:13 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-07-05 00:38:10 -0700 |
commit | 55e6558fa7cb23fb1363a86c83fbd6abf67ea324 (patch) | |
tree | 45f14786b0c165bdb6d7249f70bf0626aad4a500 /altoslib/AltosConfigValues.java | |
parent | 292cb8380b478542555b5f370e8252eafa2f74ac (diff) |
altoslib: Support multiple telemetry rates
Altos now supports 2400 and 9600 baud in addition to the classic 38400
baud rate. Add support to altoslib for these as well
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosConfigValues.java')
-rw-r--r-- | altoslib/AltosConfigValues.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/altoslib/AltosConfigValues.java b/altoslib/AltosConfigValues.java index b0c49e98..987da53b 100644 --- a/altoslib/AltosConfigValues.java +++ b/altoslib/AltosConfigValues.java @@ -53,6 +53,10 @@ public interface AltosConfigValues { public abstract String callsign(); + public abstract void set_telemetry_rate(int new_telemetry_rate); + + public abstract int telemetry_rate() throws AltosConfigDataException; + public abstract void set_flight_log_max(int new_flight_log_max); public abstract void set_flight_log_max_enabled(boolean enable); |