Aircraft database not loaded for Badge edition.
primaldev opened this issue · comments
primaldev commented
ATTENTION !
- Use this form to report bugs in an Official Release of SoftRF firmware, hardware and web pages only ;
- Issue reports from anonymous users will be most likely invalidated. Reasons for that are well explained here ;
- Prior to asking a question, look into "Closed issues" area to see if it was answered before ;
- No any "ideas" or new feature requests, please ! New feature requests do not subject for taking into consideration unless they come from co-developers ;
- "Enhancements" of existing features are only allowed when you are ready to implement them by yourself. See CONTRIBUTING list for details ;
Recommended:
- screenshot or photo width - from 600 to 800 pixels ;
- aspect ratio - 4:3, 3:4, 16:9 or 9:16.
- substitute 'space' by 'x' character to mark a hardware checkbox
Hardware
- Standalone
- Badge
- Prime Mark III
- Prime Mark II
- Dongle
- SkyView EZ
- SkyView Pico
- Uni
- Ham
- Midi
- Mini
- Academy
- Lego
- ES Edition
- Balkan
- Raspberry Edition
- UAV
- WebTop Serial
- WebTop USB
- UAT978 module
- Flight Recorder
Lilygo t-echo edition.
Firmware version
1.4
Firmware settings
Describe the bug
If you used a previous version of the firmware, or not using the settings.json, ui->adb will not be set and neither of these functions are executed, resulting the file not to be loaded
File: nRF52.cpp
To Reproduce
Upgrade from a previous version and then add the Aircrafts file ogn.cbd. It will not be loaded. For testing I added
ui->adb = DB_OGN;
above the line and then it works.
Expected behavior
The value ui->adb should be set to a default value if it's invalid or null. Or a settings.json, pre-config step requirement should be added.
Linar Yusupov commented
- required template sections are incomplete
- anonymous user
Resolution: invalid