altos/easymotor: Move pressure conversion code to ao_motor_flight.c easymotor-flight
authorKeith Packard <keithp@keithp.com>
Thu, 19 Jan 2023 22:04:50 +0000 (14:04 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 19 Jan 2023 22:04:50 +0000 (14:04 -0800)
commite4ce0ce186b68497cfb14a400410fdd38aa93abc
treea4173b3ae6525deccf56a1187053e8bcd03f2b1d
parent28e4cb24e0f0ee5abf66c5a0466edfd0e31f4df0
altos/easymotor: Move pressure conversion code to ao_motor_flight.c

This inline function uses a pile of constants which aren't defined in
ao_pins.h, so move it to ao_motor_flight.c where it is used

Signed-off-by: Keith Packard <keithp@keithp.com>
src/easymotor-v3/ao_pins.h
src/kernel/ao_motor_flight.c