Skip to content

Commit 99c8238

Browse files
author
Scott Vincent
committed
Move VOR2 and ADF
1 parent 9b5f858 commit 99c8238

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

instrument-panel/instruments/adf.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ void adf::addVars()
165165

166166
void adf::addKnobs()
167167
{
168-
// BCM GPIO 24 and 25
169-
adfCardKnob = globals.hardwareKnobs->add(24, 25, -1, -1, 0);
168+
// BCM GPIO 19 and 26
169+
adfCardKnob = globals.hardwareKnobs->add(19, 26, -1, -1, 0);
170170
}
171171

172172
void adf::updateKnobs()

instrument-panel/instruments/vor2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ void vor2::addVars()
218218

219219
void vor2::addKnobs()
220220
{
221-
// BCM GPIO 19 and 26
222-
obsKnob = globals.hardwareKnobs->add(19, 26, -1, -1, 0);
221+
// BCM GPIO 24 and 25
222+
obsKnob = globals.hardwareKnobs->add(24, 25, -1, -1, 0);
223223
}
224224

225225
void vor2::updateKnobs()

instrument-panel/settings/instrument-panel.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
},
5757
"VOR2": {
5858
"Enabled": true,
59-
"Position X": 1227,
60-
"Position Y": 674,
61-
"Size": 276
59+
"Position X": 1552,
60+
"Position Y": 672,
61+
"Size": 274
6262
},
6363
"RPM": {
6464
"Enabled": true,
@@ -68,8 +68,8 @@
6868
},
6969
"ADF": {
7070
"Enabled": true,
71-
"Position X": 1555,
72-
"Position Y": 677,
71+
"Position X": 1230,
72+
"Position Y": 680,
7373
"Size": 266
7474
},
7575
"Trim Flaps": {

0 commit comments

Comments
 (0)