From 0c8260164fb65c80bc578df15e33f810e43a0b74 Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 29 Aug 2024 23:39:13 -0700 Subject: ... --- profile.yaml | 6 +++--- xplane.mjs | 2 +- 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"); -- cgit v1.2.3-70-g09d2