Skip to content

Change the default-default state name from "Invalid" to something else for the state setup helper #191

@ZLLentz

Description

@ZLLentz

Current Behavior

Debug can be confusing since the default state name resets to "Invalid" after each call, so the sName looks like it's being called with value "Invalid" in online mode, causing some confusion and generating red herrings

Expected Behavior

Debug should be less confusing
The default default is essentially irrelevant here, functionally: you only call this FB if you want to set up a real state with some name.

Context / environment

Encountered while helping debug on tmo motion

Steps to Reproduce (for bugs)

  1. look at tmo-motion sp1k4 program in online mode

Suggested Solution

Change it to empty string, "unnamed", or something else less scary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions