diff options
-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 f0c2cfd26..49c5d99da 100644 --- a/src/modules/px4iofirmware/registers.c +++ b/src/modules/px4iofirmware/registers.c @@ -543,8 +543,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; @@ -553,8 +553,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; |