summaryrefslogtreecommitdiff
path: root/altoslib
diff options
context:
space:
mode:
authorMike Beattie <mike@ethernal.org>2012-09-07 17:34:17 +1200
committerMike Beattie <mike@ethernal.org>2012-09-07 17:34:17 +1200
commitb02c17b26e028a6f3a46781211a86a18272da4d0 (patch)
tree4d38256a238b157eba9aa90b6330875d2cb02a7c /altoslib
parent20bc23ddb90f8a6da1f7ea70f02cf3a038059d32 (diff)
altoslib: comment out un-used variables
Signed-off-by: Mike Beattie <mike@ethernal.org>
Diffstat (limited to 'altoslib')
-rw-r--r--altoslib/AltosEepromIterable.java2
-rw-r--r--altoslib/AltosEepromMegaIterable.java2
-rw-r--r--altoslib/AltosIgnite.java2
-rw-r--r--altoslib/AltosMs5607.java2
-rw-r--r--altoslib/AltosState.java4
5 files changed, 6 insertions, 6 deletions
diff --git a/altoslib/AltosEepromIterable.java b/altoslib/AltosEepromIterable.java
index fc308c34..107ad9f0 100644
--- a/altoslib/AltosEepromIterable.java
+++ b/altoslib/AltosEepromIterable.java
@@ -236,7 +236,7 @@ public class AltosEepromIterable extends AltosRecordIterable {
Iterator<AltosOrderedRecord> iterator = records.iterator();
AltosOrderedRecord record = null;
AltosRecordTM state = new AltosRecordTM();
- boolean last_reported = false;
+ //boolean last_reported = false;
EepromState eeprom = new EepromState();
state.state = AltosLib.ao_flight_pad;
diff --git a/altoslib/AltosEepromMegaIterable.java b/altoslib/AltosEepromMegaIterable.java
index be20ba63..aeb9135d 100644
--- a/altoslib/AltosEepromMegaIterable.java
+++ b/altoslib/AltosEepromMegaIterable.java
@@ -283,7 +283,7 @@ public class AltosEepromMegaIterable extends AltosRecordIterable {
Iterator<AltosOrderedMegaRecord> iterator = records.iterator();
AltosOrderedMegaRecord record = null;
AltosRecordMM state = new AltosRecordMM();
- boolean last_reported = false;
+ //boolean last_reported = false;
EepromState eeprom = new EepromState();
state.state = AltosLib.ao_flight_pad;
diff --git a/altoslib/AltosIgnite.java b/altoslib/AltosIgnite.java
index cc814337..e89f1b65 100644
--- a/altoslib/AltosIgnite.java
+++ b/altoslib/AltosIgnite.java
@@ -95,7 +95,7 @@ public class AltosIgnite {
int status = Unknown;
if (link == null)
return status;
- string_ref status_name = new string_ref();
+ //string_ref status_name = new string_ref();
try {
start_link();
link.printf("t\n");
diff --git a/altoslib/AltosMs5607.java b/altoslib/AltosMs5607.java
index 5fd997d8..268e89f6 100644
--- a/altoslib/AltosMs5607.java
+++ b/altoslib/AltosMs5607.java
@@ -37,7 +37,7 @@ public class AltosMs5607 {
int TEMP;
long OFF;
long SENS;
- int P;
+ //int P;
dT = raw_temp - ((int) tref << 8);
diff --git a/altoslib/AltosState.java b/altoslib/AltosState.java
index 3b37a3d4..2806812e 100644
--- a/altoslib/AltosState.java
+++ b/altoslib/AltosState.java
@@ -77,8 +77,8 @@ public class AltosState {
public double speak_altitude;
public void init (AltosRecord cur, AltosState prev_state) {
- int i;
- AltosRecord prev;
+ //int i;
+ //AltosRecord prev;
data = cur;