summaryrefslogtreecommitdiff
path: root/src/ao_flight_test.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-11-02 23:48:29 -0800
committerKeith Packard <keithp@keithp.com>2009-11-02 23:51:41 -0800
commitb529e5e8998702986909111a457f3ce9932e1ccf (patch)
tree1f86b70b19c66ea6a87f47a0c039c7147e8b2f98 /src/ao_flight_test.c
parentf57bea012d4fbca097df0d98fcd30eb4abd9701a (diff)
ao_flight_test was using accel value for pressure too
Diffstat (limited to 'src/ao_flight_test.c')
-rw-r--r--src/ao_flight_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_flight_test.c b/src/ao_flight_test.c
index 61f48cb6..2bf7f2b2 100644
--- a/src/ao_flight_test.c
+++ b/src/ao_flight_test.c
@@ -217,7 +217,7 @@ ao_sleep(void *wchan)
type = words[0][0];
tick = strtoul(words[1], NULL, 16);
a = strtoul(words[2], NULL, 16);
- b = strtoul(words[2], NULL, 16);
+ b = strtoul(words[3], NULL, 16);
} else if (nword >= 36 && strcmp(words[0], "CALL") == 0) {
tick = atoi(words[10]);
if (!ao_flight_started) {