inav-configurator icon indicating copy to clipboard operation
inav-configurator copied to clipboard

Invalid value not detected in configurator for failsafe_off_delay

Open bzdang opened this issue 9 years ago • 2 comments

Thank-you for this configurator! I noticed that if I set failsafe_off_delay in CLI, the allowed range is 0 - 200, but the configurator accepts values up to 2000 and can write values up to 255, beyond this the value is wrapped around to zero at intervals of 256, 512, 768 etc.

Examples - a value of 300 in the configurator writes a value of 44 to the configuration.

My version info: 2017-01-08 @ 14:51:31 -- Running - OS: Windows, Chrome: 55.0.2883.87, Configurator: 1.5.2 2017-01-08 @ 14:51:35 -- Flight controller info, identifier: INAV, version: 1.5.1 2017-01-08 @ 14:51:35 -- Running firmware released on: Jan 4 2017 13:59:21 2017-01-08 @ 14:51:35 -- Board: REF3, version: 0

bzdang avatar Jan 08 '17 21:01 bzdang

With new failsafe in 1.6 this ticket is not longer valid

DzikuVx avatar Mar 10 '17 15:03 DzikuVx

I need to heat that up again. I see the exact behavior in current 2.4.0. And I think this can be quite dangerous, when not double checking every single value you enter into the Configurator.

FabianSchwartau avatar Feb 13 '20 17:02 FabianSchwartau