Something I've notice for a long time now, the display in the selectbox is wrong for denoms > 128.
I set my blackbox logging rates rather slow, since I need these datas only for OSD overlay purpose, the display in the selectbox is wrong for denoms > 128.
And additionally, for "exotic" values like 384 (to get 1 sample per 5 seconds approx.), the time between samples is unstable, but that's on the INAV side of things.
See below, for 1/256 the selectbox is empty, and for 1/384 it looks like a signed 16 bits overflow.
Maybe it would be simpler and fail-proof to just have 2 fields, for blackbox_rate_num and blackbox_rate_denom ?
And also display the final rate of logging in milliseconds or Hz ?
Because it's not so easy to calculate, since the looptime can vary.
blackbox_rate_denom = 256
blackbox_rate_denom = 384

Something I've notice for a long time now, the display in the selectbox is wrong for denoms > 128.
I set my blackbox logging rates rather slow, since I need these datas only for OSD overlay purpose, the display in the selectbox is wrong for denoms > 128.
And additionally, for "exotic" values like 384 (to get 1 sample per 5 seconds approx.), the time between samples is unstable, but that's on the INAV side of things.
See below, for 1/256 the selectbox is empty, and for 1/384 it looks like a signed 16 bits overflow.
Maybe it would be simpler and fail-proof to just have 2 fields, for blackbox_rate_num and blackbox_rate_denom ?
And also display the final rate of logging in milliseconds or Hz ?
Because it's not so easy to calculate, since the looptime can vary.
blackbox_rate_denom = 256
blackbox_rate_denom = 384