Skip to content

Some inits needed? #1

@nicolaufg

Description

@nicolaufg

It seems to work in the simulator (Companion 2.2RC2) but it fails in my new Horus X12S. It claims "lastUpdtTelem is nil" in line 355. I blindly added the lines below to "local function create(zone, options)"

lastUpdtTelem = 0
timeToTelemUpdt = 0

... and the error became "Attempt to compare number with nil" in the same line...

Note these have been my first 5 minutes with LUA ever, but I'll do my homework and try to contribute to this project in the future. I really like the idea of having one widget to get all the passthrough telemetry and then let other widgets use it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions