Skip to content

Instantiating CBUSconfig object can fail to compile. #5

Description

@daveharrisuk

CBUSConfig config; // CBUS config object compiles ok.
But...
CBUSConfig CBUSconf; // CBUSconf object fails to compile.

The object 'config' is hard coded into CBUS.cpp as extern CBUSConfig config;

Reason this is an Issue:
My app also has a 'config' object and want to make it clear which 'config' is which by changing both names.

Workaround:
I'll change my app to use another object name and leave config name as is. Not ideal.

Dave Harris

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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