aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profile.yaml6
-rw-r--r--xplane.mjs2
2 files changed, 4 insertions, 4 deletions
diff --git a/profile.yaml b/profile.yaml
index 6843f0e..cd64d8c 100644
--- a/profile.yaml
+++ b/profile.yaml
@@ -77,19 +77,19 @@
- gray
- display:
type: meter
- freq: 1,
+ freq: 6
source:
- xplane_dataref: sim/cockpit2/engine/indicators/MPR_in_hg[0]
min: 10
max: 30
- formatter: '${$d[0] != null ? $d[0].toFixed(2) : "X"}'
+ formatter: '${$d[0] != null ? $d[0].toFixed(1) : "X"}'
stops:
- color: 'green'
value_begin: 13
value_end: 30
- display:
type: meter
- freq: 1,
+ freq: 6
source:
- xplane_dataref: sim/cockpit2/engine/indicators/engine_speed_rpm[0]
min: 0
diff --git a/xplane.mjs b/xplane.mjs
index dd50b20..c7aaebc 100644
--- a/xplane.mjs
+++ b/xplane.mjs
@@ -82,7 +82,7 @@ export class XPlane {
if (handler) {
this.subscribed.push({ dataRef, handler, freq });
}
- console.info(`x-plane subscribed[${idx}] => ${dataRef}`);
+ console.info(`x-plane subscribed[${idx}] => ${dataRef} @${freq}Hz`);
this._subscribeDataRef(idx);
}
//subscribeDataRef("sim/flightmodel/position/indicated_airspeed");