Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

double definition of XTM_LEFT and XTM_RIGHT #3

Open
softhack007 opened this issue Nov 4, 2021 · 0 comments
Open

double definition of XTM_LEFT and XTM_RIGHT #3

softhack007 opened this issue Nov 4, 2021 · 0 comments

Comments

@softhack007
Copy link

softhack007 commented Nov 4, 2021

The compiler (rightfully) complains about re-definition of these macros in the header file. The second definition overrides the first one. Unfortunately the two definitions use different value, so i'm wondering if the functions setNumber() and setSignedNumber() really do what they should.

#define XTM_LEFT 0x00

#define XTM_LEFT 0x70

#define XTM_RIGHT 0x01

#define XTM_RIGHT 0x46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant