1
0
Fork 0
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:
Darren Lines 2022-08-13 05:43:09 +01:00
parent f76e5afd20
commit 57cff5ccfe
2 changed files with 8 additions and 1 deletions

View file

@ -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