summaryrefslogtreecommitdiff
path: root/altoslib/AltosEepromMega.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-26 19:03:12 -0600
committerKeith Packard <keithp@keithp.com>2013-05-26 19:03:12 -0600
commit62547a042d042fadec652c5081f96816a8e66970 (patch)
tree6ca8ab7bd5361de478a5e6a642d1134bec819063 /altoslib/AltosEepromMega.java
parent277577fecc71e3c52b823938f396cf42be403ebe (diff)
altos,altosui: Add pyro state logging for TeleMega
Only in the log file (no obvious space in the telem packets), but at least we should be able to check for pyro failures. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosEepromMega.java')
-rw-r--r--altoslib/AltosEepromMega.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/altoslib/AltosEepromMega.java b/altoslib/AltosEepromMega.java
index b077e26c..0804c392 100644
--- a/altoslib/AltosEepromMega.java
+++ b/altoslib/AltosEepromMega.java
@@ -73,6 +73,7 @@ public class AltosEepromMega {
public int v_pbatt() { return data16(2); }
public int nsense() { return data16(4); }
public int sense(int i) { return data16(6 + i * 2); }
+ public int pyro() { return data16(26); }
/* AO_LOG_GPS_TIME elements */
public int latitude() { return data32(0); }