mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-19 06:15:11 +03:00
Change POSHOLD to LOITER on fixed wing
This commit is contained in:
parent
f76e5afd20
commit
57cff5ccfe
2 changed files with 8 additions and 1 deletions
|
@ -16,6 +16,11 @@ function isPeripheralSelected(peripheralName) {
|
|||
function adjustBoxNameIfPeripheralWithModeID(modeId, defaultName) {
|
||||
if (isPeripheralSelected("RUNCAM_DEVICE_CONTROL")) {
|
||||
switch (modeId) {
|
||||
case 11: // NAV POSHOLD
|
||||
if (FC.isAirplane()) {
|
||||
return "LOITER";
|
||||
}
|
||||
break;
|
||||
case 39: // BOXCAMERA1
|
||||
return "CAMERA WI-FI";
|
||||
case 40: // BOXCAMERA2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue