diff options
author | Julian Oes <julian@oes.ch> | 2013-10-08 17:03:57 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2013-10-08 17:03:57 +0200 |
commit | 1b9e2af7425615130ddbcf79b89859c97a791a9c (patch) | |
tree | 938e95decf73811c3c0c5ff2207c8e2a5fd029dd /src/modules/px4iofirmware/px4io.h | |
parent | 19879432ad6cf709af25192401829719defd2983 (diff) | |
download | px4-firmware-1b9e2af7425615130ddbcf79b89859c97a791a9c.tar.gz px4-firmware-1b9e2af7425615130ddbcf79b89859c97a791a9c.tar.bz2 px4-firmware-1b9e2af7425615130ddbcf79b89859c97a791a9c.zip |
Moved PWM ramp to systemlib
Diffstat (limited to 'src/modules/px4iofirmware/px4io.h')
-rw-r--r-- | src/modules/px4iofirmware/px4io.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/px4iofirmware/px4io.h b/src/modules/px4iofirmware/px4io.h index 6c9007a75..4fea0288c 100644 --- a/src/modules/px4iofirmware/px4io.h +++ b/src/modules/px4iofirmware/px4io.h @@ -46,6 +46,8 @@ #include "protocol.h" +#include <systemlib/pwm_limit/pwm_limit.h> + /* * Constants and limits. */ @@ -123,6 +125,11 @@ struct sys_state_s { extern struct sys_state_s system_state; /* + * PWM limit structure + */ +extern pwm_limit_t pwm_limit; + +/* * GPIO handling. */ #define LED_BLUE(_s) stm32_gpiowrite(GPIO_LED1, !(_s)) |