Correct formatting of OSD power element in preview

10.3.x-maintenance
Dan Nixon 2017-09-11 18:40:41 +01:00
parent 82d7499da4
commit 7ce02d3bbd
1 changed files with 3 additions and 1 deletions

View File

@ -489,7 +489,9 @@ OSD.constants = {
desc: 'osdDescElementPower',
default_position: (15 << 5) | 2,
positionable: true,
preview: '142W'
preview: function() {
return semver.gte(CONFIG.apiVersion, "1.36.0") ? ' 142W' : '142W';
}
},
PID_RATE_PROFILE: {
name: 'PID_RATE_PROFILE',