diff options
author | Lorenz Meier <lorenz@px4.io> | 2015-04-18 11:51:25 +0200 |
---|---|---|
committer | Lorenz Meier <lorenz@px4.io> | 2015-04-18 11:51:25 +0200 |
commit | 63d741e3686d4dd1fe872426aec0b1570f897628 (patch) | |
tree | c5046e48d70ad20e749cfc05807cfd0b4b650e1f /src/modules | |
parent | 02ce3d070d2105a1f3d63051cc6b4e8efa414935 (diff) | |
parent | 93eff2bb956e920b99b2058550fdbc3f23ec6155 (diff) | |
download | px4-firmware-63d741e3686d4dd1fe872426aec0b1570f897628.tar.gz px4-firmware-63d741e3686d4dd1fe872426aec0b1570f897628.tar.bz2 px4-firmware-63d741e3686d4dd1fe872426aec0b1570f897628.zip |
Merge pull request #1993 from philipoe/PR/IOActuatorUpdateRate
px4io firmware: Allow actuator update rates down to 45Hz, as this is exa...
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/px4iofirmware/registers.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/px4iofirmware/registers.c b/src/modules/px4iofirmware/registers.c index 90e0fb10e..e7976446c 100644 --- a/src/modules/px4iofirmware/registers.c +++ b/src/modules/px4iofirmware/registers.c @@ -544,8 +544,8 @@ registers_set_one(uint8_t page, uint8_t offset, uint16_t value) break; case PX4IO_P_SETUP_PWM_DEFAULTRATE: - if (value < 50) { - value = 50; + if (value < 25) { + value = 25; } if (value > 400) { value = 400; @@ -554,8 +554,8 @@ registers_set_one(uint8_t page, uint8_t offset, uint16_t value) break; case PX4IO_P_SETUP_PWM_ALTRATE: - if (value < 50) { - value = 50; + if (value < 25) { + value = 25; } if (value > 400) { value = 400; |