diff options
author | Determinant <[email protected]> | 2024-08-29 23:39:13 -0700 |
---|---|---|
committer | Determinant <[email protected]> | 2024-08-29 23:39:13 -0700 |
commit | 0c8260164fb65c80bc578df15e33f810e43a0b74 (patch) | |
tree | 64d0174f386271d427f67e17ef0523a6a02453af | |
parent | 2cf6eaf48ab85f4c0b6dbcef80cec5f0e7421576 (diff) |
...
-rw-r--r-- | profile.yaml | 6 | ||||
-rw-r--r-- | 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 @@ -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"); |