diff options
| author | Bdale Garbee <bdale@gag.com> | 2013-12-18 18:25:35 -0700 | 
|---|---|---|
| committer | Bdale Garbee <bdale@gag.com> | 2013-12-18 18:25:35 -0700 | 
| commit | d9982c257463f23be940eea66bd4dc3aadff0043 (patch) | |
| tree | a4744aa4f82b6e9a0a7d019c4112516191aed7c8 /altoslib/AltosMs5607.java | |
| parent | 1b97ed2b64bcbcd969124964f1e49837899f1c70 (diff) | |
| parent | b63fc05481bf6d57e6385704ce53c1c19afa9c2e (diff) | |
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Diffstat (limited to 'altoslib/AltosMs5607.java')
| -rw-r--r-- | altoslib/AltosMs5607.java | 8 | 
1 files changed, 0 insertions, 8 deletions
| diff --git a/altoslib/AltosMs5607.java b/altoslib/AltosMs5607.java index 23d65ea9..2319d5b8 100644 --- a/altoslib/AltosMs5607.java +++ b/altoslib/AltosMs5607.java @@ -85,12 +85,10 @@ public class AltosMs5607 {  	}  	public boolean parse_line(String line) { -		System.out.printf ("parse %s\n", line);  		String[] items = line.split("\\s+");  		if (line.startsWith("Pressure:")) {  			if (items.length >= 2) {  				raw_pres = Integer.parseInt(items[1]); -				System.out.printf ("raw_pres %d\n", raw_pres);  			}  		} else if (line.startsWith("Temperature:")) {  			if (items.length >= 2) @@ -99,10 +97,8 @@ public class AltosMs5607 {  			if (items.length >= 3)  				reserved = Integer.parseInt(items[2]);  		} else if (line.startsWith("ms5607 sens:")) { -			System.out.printf ("found sens length %d\n", items.length);  			if (items.length >= 3) {  				sens = Integer.parseInt(items[2]); -				System.out.printf ("sens %d\n", sens);  			}  		} else if (line.startsWith("ms5607 off:")) {  			if (items.length >= 3) @@ -156,13 +152,9 @@ public class AltosMs5607 {  				throw new TimeoutException();  			}  			if (!parse_line(line)) { -				System.out.printf ("stop parsing at %s\n", line);  				break;  			}  		} -		System.out.printf ("sens %d off %d tcs %d tco %d tref %d tempsens %d crc %d pres %d temp %d\n", -				   sens, off, tcs, tco, tref, tempsens, crc, raw_pres, raw_temp);  		convert(); -		System.out.printf ("pa %d cc %d\n", pa, cc);  	}  } | 
