diff options
| author | Keith Packard <keithp@keithp.com> | 2013-09-02 23:10:23 -0600 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-09-02 23:11:52 -0600 | 
| commit | 528e2e41112cad8a81bccbb89c3bd202b818a506 (patch) | |
| tree | 2c2076a5d1972681ba3300e9a44636b526efaa82 /altosui/AltosGraphDataPoint.java | |
| parent | 224a1e01bacb7db0076129906ed58e1c785e1b14 (diff) | |
altoslib: More AltosState hacking
EasyMini graphs are looking good now.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosGraphDataPoint.java')
| -rw-r--r-- | altosui/AltosGraphDataPoint.java | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/altosui/AltosGraphDataPoint.java b/altosui/AltosGraphDataPoint.java index 537efc44..85a19b00 100644 --- a/altosui/AltosGraphDataPoint.java +++ b/altosui/AltosGraphDataPoint.java @@ -52,13 +52,13 @@ public class AltosGraphDataPoint implements AltosUIDataPoint {  		double y = AltosRecord.MISSING;  		switch (index) {  		case data_height: -			y = state.height; +			y = state.height();  			break;  		case data_speed:  			y = state.speed();  			break;  		case data_accel: -			y = state.acceleration; +			y = state.acceleration();  			break;  		case data_temp:  			y = state.temperature; @@ -97,7 +97,7 @@ public class AltosGraphDataPoint implements AltosUIDataPoint {  				y = state.from_pad.distance;  			break;  		case data_pressure: -			y = state.pressure; +			y = state.pressure();  			break;  		}  		if (y == AltosRecord.MISSING) | 
