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

Compilation error: 'CLEARGRASSCGH1Discovery' was not declared in this scope #920

Closed
combatistor opened this issue Apr 7, 2021 · 1 comment · Fixed by #930
Closed

Compilation error: 'CLEARGRASSCGH1Discovery' was not declared in this scope #920

combatistor opened this issue Apr 7, 2021 · 1 comment · Fixed by #930
Milestone

Comments

@combatistor
Copy link

Hi everyone, I found a bug, hopefully I could fix it but I post it for anyone having the same issue as me.

Describe the bug
When I compile OMG v0.9.6 using the release sources on the arduino IDE, with Bluetooth, I get the following error:
'CLEARGRASSCGH1Discovery' was not declared in this scope

Environment (please complete the following information):

  • OpenMQTTGateway version used (V0.9.6 release from github)

Additional context
Using Wemos D1 mini board

How to solve the problem:
the definition of "CLEARGRASSCGH1Discovery" function is missing, simply add this
void CLEARGRASSCGH1Discovery(char* mac, char* sensorModel) {}
on line 523 of the ZgatewayBT.ino file

Thank you

@1technophile
Copy link
Owner

Thanks for pointing this !

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

Successfully merging a pull request may close this issue.

2 participants