inav icon indicating copy to clipboard operation
inav copied to clipboard

Settings Validated Red X in 2.1 RC1 and Battery Voltage Displays No Decimals

Open Nihilistic opened this issue 7 years ago • 6 comments

Current Behavior

After setting up the OSD on both my F405-CTR and F722-SE, and plugging in a flight battery for the first test flight, I got a navigation is unsafe voltage something or other error flashing on my OSD, and only the whole numbers of my battery voltage would display. Workaround is selecting 2 decimal places from the dialog box on the OSD tab, clicking save, and then selecting back to 1 decimal place, and clicking save, and then voltage displays correctly on OSD.

Possibly related to #3507

Steps to Reproduce

1. 2. 3. 4.

Expected behavior

Suggested solution(s)

Additional context


  • FC Board name and vendor:
  • INAV version string:

Nihilistic avatar Jan 15 '19 15:01 Nihilistic

If settings are no validated you likely have not upgraded following the guide on the release notes.

giacomo892 avatar Jan 15 '19 16:01 giacomo892

I always do a full chip erase and do the full configuration manually. No CLI dump pastings at all.

After clicking on the dialog box and bumping decimals up to 2 and clicking save, and then selecting 1 decimal again and clicking save, the settings validated issue goes away. Only have to do this once, not every time I plug in the battery.

It's a minor thing, but thought I'd mention it.

Nihilistic avatar Jan 15 '19 16:01 Nihilistic

image

image

Just tested on F405-CTR and it is working correctly with Full Chip Erase, settings are valid after flashing

DzikuVx avatar Jan 15 '19 21:01 DzikuVx

LOL...oh I must have imagined it then.

You didn't go through the whole configuration and set up the OSD. Didn't even apply the quadx mixer.

I'm using PAL, don't know if that makes a difference. And the Split 2S on this bird.

Nihilistic avatar Jan 15 '19 21:01 Nihilistic

@Nihilistic can you post a config dump that, when loaded, reproduces the problem? I've checked the code and it seems to me that setting is correctly initialised on first boot. See https://github.com/iNavFlight/inav/blob/development/src/main/io/osd.c#L2566

fiam avatar Jan 15 '19 21:01 fiam

I'm using the modified hex that fixes the Split 2S control issue that was just posted today. But, I've had this problem before using the official 2.1 RC1 hex. Maybe it's something very specific to how I'm setting up my OSD (which fields I've chosen and where I've placed them). Here's my most recent dump, but it's after I did the workaround, so I don't know if it will show anything. Fully Configured Dump.txt

Nihilistic avatar Jan 15 '19 21:01 Nihilistic