Repository navigation
How to add new variables in cli? #10668
|
Want to play with temperature compensation of baro. Recompilation and reflashing each time takes too mach time. |
Replies: 1 comment 1 reply
|
For baro temperature compensation you may not need your own variable any more. PR #10382 (released in INAV 9.0) added it as a CLI setting: If you set either one to If you still want your own tunable, every CLI setting is generated at build time from
The full procedure, with the versioning rules, is in To check: after flashing, |
For baro temperature compensation you may not need your own variable any more. PR #10382 (released in INAV 9.0) added it as a CLI setting:
If you set either one to
51, auto-calibration starts. It ends after 5 minutes, or at the first arm. So you can update to 9.x and tune from the CLI without building firmware.If you still want your own tunable, every CLI setting is generated at build time from
src/main/fc/settings.yaml. Adding one means a single rebuild. After that, you change it withsetlike any other setting. F…