From: Keith Packard Date: Fri, 21 Feb 2020 07:43:01 +0000 (-0800) Subject: altos: Adjust comment about how the BMX160 is oriented X-Git-Tag: 1.9.2~2^2~14 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=3db6d4698d05c5017565a25b9b5c0f538014bebe altos: Adjust comment about how the BMX160 is oriented Bdale promises to make them all the same. Signed-off-by: Keith Packard --- diff --git a/src/kernel/ao_data.h b/src/kernel/ao_data.h index 43bd0e21..988ac489 100644 --- a/src/kernel/ao_data.h +++ b/src/kernel/ao_data.h @@ -448,8 +448,8 @@ static inline float ao_convert_accel(int16_t sensor) typedef int16_t gyro_t; /* in raw sample units */ typedef int16_t angle_t; /* in degrees */ -/* Y axis is aligned with the direction of motion (along) */ -/* X axis is aligned in the other board axis (across) */ +/* X axis is aligned with the direction of motion (along) */ +/* Y axis is aligned in the other board axis (across) */ /* Z axis is aligned perpendicular to the board (through) */ static inline float ao_convert_gyro(float sensor)