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

Compile error when building sonoff-dual-debug #11

Closed
xoseperez opened this issue Dec 11, 2016 · 5 comments
Closed

Compile error when building sonoff-dual-debug #11

xoseperez opened this issue Dec 11, 2016 · 5 comments

Comments

@xoseperez
Copy link
Owner

Originally reported by: Jay (Bitbucket: ElectricImpossible, GitHub: ElectricImpossible)


I have managed to build sonoff-debug and flashed to my sonoff dual without issue but when attempting to build/compile sonoff-dual-debug i receive the following

*C:/Espurna/code/src/button.ino: In function 'void buttonLoop()':
C:/Espurna/code/src/button.ino:89:50: error: too many arguments to function 'bool relayStatus(unsigned char)'
C:/Espurna/code/src/main.ino:144:6: note: declared here
#endif
*
I believe that as I have managed to flash sonoff-debug that my platform.io is upto spec, but have been recently using this platform for your code.

@xoseperez
Copy link
Owner Author

Original comment by Jay (Bitbucket: ElectricImpossible, GitHub: ElectricImpossible):


formatting

@xoseperez
Copy link
Owner Author

Added relayStatus function prototype to fix issue #11

@xoseperez
Copy link
Owner Author

I see. It's a missing function prototype for relayStatus.

@xoseperez
Copy link
Owner Author

Original comment by Jay (Bitbucket: ElectricImpossible, GitHub: ElectricImpossible):


Thanks for the prompt reply, I will take a look at your updates and try again.

@xoseperez
Copy link
Owner Author

Original comment by Jay (Bitbucket: ElectricImpossible, GitHub: ElectricImpossible):


Working! Thanks for making this public.

Hope your thinking about joining patreon.com

xoseperez pushed a commit that referenced this issue Jan 24, 2018
…quest #11)

Add a separate incremental energy counter into the Domoticz MQTT interface
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant