-
Notifications
You must be signed in to change notification settings - Fork 638
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
Compile Error homeassitant.ino #1735
Comments
see #924, #1613 (comment) and please retry with dev version instead |
Would it be possible to fix |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That error happens on compile with Plattform.io and ATOM also VSC
`
E:/espurna-master/code/espurna/homeassitant.ino:13:6: error: redefinition of 'bool _haEnabled'
bool _haEnabled = false;
^
E:/espurna-master/code/espurna/homeassistant.ino:13:6: error: 'bool _haEnabled' previously defined here
bool _haEnabled = false;
^
E:/espurna-master/code/espurna/homeassitant.ino:14:6: error: redefinition of 'bool _haSendFlag'
bool _haSendFlag = false;
^
E:/espurna-master/code/espurna/homeassistant.ino:14:6: error: 'bool _haSendFlag' previously defined here
bool _haSendFlag = false;
^
E:/espurna-master/code/espurna/homeassitant.ino: In function 'void _haWebSocketOnSend(ArduinoJson::JsonObject&)':
E:/espurna-master/code/espurna/homeassitant.ino:18:6: error: redefinition of 'void _haWebSocketOnSend(ArduinoJson::JsonObject&)'
void _haWebSocketOnSend(JsonObject& root) {
^
E:/espurna-master/code/espurna/homeassistant.ino:248:6: error: 'void _haWebSocketOnSend(ArduinoJson::JsonObject&)' previously defined here
void _haWebSocketOnSend(JsonObject& root) {
^
E:/espurna-master/code/espurna/homeassitant.ino: In function 'void _haSendSwitches()':
E:/espurna-master/code/espurna/homeassitant.ino:130:6: error: redefinition of 'void _haSendSwitches()'
void _haSendSwitches() {
^
E:/espurna-master/code/espurna/homeassistant.ino:117:6: error: 'void _haSendSwitches()' previously defined here
void _haSendSwitches() {
^
E:/espurna-master/code/espurna/homeassitant.ino: In function 'void _haSend()':
E:/espurna-master/code/espurna/homeassitant.ino:136:6: error: redefinition of 'void _haSend()'
void _haSend() {
^
E:/espurna-master/code/espurna/homeassistant.ino:215:6: error: 'void _haSend()' previously defined here
void _haSend() {
^
E:/espurna-master/code/espurna/homeassitant.ino: In function 'void _haConfigure()':
E:/espurna-master/code/espurna/homeassitant.ino:156:6: error: redefinition of 'void _haConfigure()'
void _haConfigure() {
^
E:/espurna-master/code/espurna/homeassistant.ino:235:6: error: 'void _haConfigure()' previously defined here
void _haConfigure() {
^
E:/espurna-master/code/espurna/homeassistant.ino:235:6: error: 'void _haConfigure()' previously defined here
void _haConfigure() {
^
E:/espurna-master/code/espurna/homeassitant.ino: In function 'void haSetup()':
E:/espurna-master/code/espurna/homeassitant.ino:165:6: error: redefinition of 'void haSetup()'
void haSetup() {
^
E:/espurna-master/code/espurna/homeassistant.ino:299:6: error: 'void haSetup()' previously defined here
void haSetup() {
^
E:/espurna-master/code/espurna/homeassitant.ino:171:44: error: 'wsOnAfterParseRegister' was not declared in this scope
wsOnAfterParseRegister(_haConfigure);
^
`
The text was updated successfully, but these errors were encountered: