diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-12-30 10:03:05 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-12-30 10:03:05 +0100 |
commit | 142556b442b1c88ed2ede2cb9904a6a324051e71 (patch) | |
tree | 0ad4357be8b5ef9ccab6ea6c5fa125a19e8a29d9 /apps/px4io/px4io.c | |
parent | b8250de1e67f63f9ca3b990e016744584a328922 (diff) | |
parent | 62a95bf8e6592b31ae7e84e53b654bc5e6b71cd1 (diff) | |
download | px4-firmware-142556b442b1c88ed2ede2cb9904a6a324051e71.tar.gz px4-firmware-142556b442b1c88ed2ede2cb9904a6a324051e71.tar.bz2 px4-firmware-142556b442b1c88ed2ede2cb9904a6a324051e71.zip |
merged
Diffstat (limited to 'apps/px4io/px4io.c')
-rw-r--r-- | apps/px4io/px4io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/px4io/px4io.c b/apps/px4io/px4io.c index 74362617d..bea9d59bc 100644 --- a/apps/px4io/px4io.c +++ b/apps/px4io/px4io.c @@ -66,6 +66,8 @@ int user_start(int argc, char *argv[]) /* reset all to zero */ memset(&system_state, 0, sizeof(system_state)); + /* default to 50 Hz PWM outputs */ + system_state.servo_rate = 50; /* configure the high-resolution time/callout interface */ hrt_init(); |