mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-26 01:35:28 +03:00
Add electrical power to OSD
This commit is contained in:
parent
ed35a74746
commit
58e369baf6
1 changed files with 8 additions and 1 deletions
|
@ -380,6 +380,12 @@ OSD.constants = {
|
||||||
default_position: 0x800 | (12 << 5) | 2, // 0x0800 | (y << 5) | x
|
default_position: 0x800 | (12 << 5) | 2, // 0x0800 | (y << 5) | x
|
||||||
positionable: true,
|
positionable: true,
|
||||||
preview: 'YAW 70 45 20'
|
preview: 'YAW 70 45 20'
|
||||||
|
},
|
||||||
|
POWER: {
|
||||||
|
name: 'POWER',
|
||||||
|
default_position: (15 << 5) | 2,
|
||||||
|
positionable: true,
|
||||||
|
preview: '142W'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -411,7 +417,8 @@ OSD.chooseFields = function () {
|
||||||
OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([
|
OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([
|
||||||
F.PID_ROLL,
|
F.PID_ROLL,
|
||||||
F.PID_PITCH,
|
F.PID_PITCH,
|
||||||
F.PID_YAW
|
F.PID_YAW,
|
||||||
|
F.POWER
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue