Skip to content

Introduce bOpenManualOP compatiblity and friends #45

@tboegi

Description

@tboegi

See

https://gitlab.esss.lu.se/mcag/sources/tc_pils_generic/-/issues?show=eyJpaWQiOiIyIiwiZnVsbF9wYXRoIjoibWNhZy9zb3VyY2VzL3RjX3BpbHNfZ2VuZXJpYyIsImlkIjoyNTgxMH0%3D

The split of
bOpenManualOP into
bOpenManualOP1 and bOpenManualOP2 introduces a compatiblity issue:

(external) code that relied on the existance of bOpenManualOP does not compile any more.
For the state machine inside PILS we only need the information,
if any of the bOpenManualOPx buttons is pressed.
Which one is not important.
Suggestion:
Introduce helper variables, that mimic the old behaviour:
bOpenManualOP := bOpenManualOP1 OR bOpenManualOP2
(And the same for the other variables)
This avoids dependency problems 100%

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