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

#define DONT_ACCEPT_SAME_RFID_TWICE makes the error: 'class Tonuino' has no member named 'getCard' #184

Closed
rstoll21 opened this issue Mar 27, 2024 · 4 comments
Labels
bug Something isn't working pull_request_exists

Comments

@rstoll21
Copy link

rstoll21 commented Mar 27, 2024

the options #define DONT_ACCEPT_SAME_RFID_TWICE in constants.hpp causes for me the error
src\state_machine.cpp:713:24: error: 'class Tonuino' has no member named 'getCard'

this is the code 3 times in state_machine.cpp
#ifdef DONT_ACCEPT_SAME_RFID_TWICE
if (not (tonuino.getCard() == lastCardRead))
#endif

V3.1.7 25.03.24

boerge1 pushed a commit that referenced this issue Mar 27, 2024
* fix compile error when enabling DONT_ACCEPT_SAME_RFID_TWICE (add
issue #184)
@boerge1 boerge1 added the bug Something isn't working label Mar 27, 2024
@boerge1
Copy link
Collaborator

boerge1 commented Mar 27, 2024

pull request #187 created

@boerge1
Copy link
Collaborator

boerge1 commented Mar 27, 2024

I already solved this while I was working on Issue 181.

@boerge1
Copy link
Collaborator

boerge1 commented Mar 27, 2024

pull request #187 merged

@boerge1 boerge1 closed this as completed Mar 27, 2024
@rstoll21
Copy link
Author

thank you very very much. Really good work. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pull_request_exists
Projects
None yet
Development

No branches or pull requests

2 participants