diff options
author | px4dev <px4@purgatory.org> | 2014-01-22 23:51:53 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2014-01-22 23:52:06 -0800 |
commit | 0994412ccae65349b144e0f29781889b18cd23ca (patch) | |
tree | 403029ca1b0ec75d618cd1812378b9385b9df349 /src/modules/px4iofirmware/px4io.c | |
parent | 1ac8501d95f9d01bd2efc5b75373260dcc8d4530 (diff) | |
download | px4-firmware-0994412ccae65349b144e0f29781889b18cd23ca.tar.gz px4-firmware-0994412ccae65349b144e0f29781889b18cd23ca.tar.bz2 px4-firmware-0994412ccae65349b144e0f29781889b18cd23ca.zip |
Fix the initialisation and operation of the PX4IO ADC - now RSSI and VSERVO voltages should be read correctly.
Diffstat (limited to 'src/modules/px4iofirmware/px4io.c')
-rw-r--r-- | src/modules/px4iofirmware/px4io.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/px4iofirmware/px4io.c b/src/modules/px4iofirmware/px4io.c index d8ebb43e9..d03b64809 100644 --- a/src/modules/px4iofirmware/px4io.c +++ b/src/modules/px4iofirmware/px4io.c @@ -210,6 +210,9 @@ user_start(int argc, char *argv[]) /* initialise the control inputs */ controls_init(); + /* set up the ADC */ + adc_init(); + /* start the FMU interface */ interface_init(); |