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 #13

Open
Chellux opened this issue Feb 10, 2023 · 0 comments
Open

Compilation error #13

Chellux opened this issue Feb 10, 2023 · 0 comments

Comments

@Chellux
Copy link

Chellux commented Feb 10, 2023

hi

bekomm leider beim compilieren immer diese meldung...

In file included from C:\Users\maik-\Downloads\esp8266-co2monitor-master\esp8266-co2monitor\esp8266-co2monitor\esp8266-co2monitor.ino:10:
C:\Users\maik-\Downloads\esp8266-co2monitor-master\esp8266-co2monitor\esp8266-co2monitor\settings.h:9: warning: "PIN_CLK" redefined
9 | #define PIN_CLK 4 //D2 on PCB
|
C:\Users\maik-\Downloads\esp8266-co2monitor-master\esp8266-co2monitor\esp8266-co2monitor\settings.h:1: note: this is the location of the previous definition
1 | #define PIN_CLK D2
|
C:\Users\maik-\Downloads\esp8266-co2monitor-master\esp8266-co2monitor\esp8266-co2monitor\settings.h:10: warning: "PIN_DATA" redefined
10 | #define PIN_DATA 5 //D1 on PCB
|
C:\Users\maik-\Downloads\esp8266-co2monitor-master\esp8266-co2monitor\esp8266-co2monitor\settings.h:2: note: this is the location of the previous definition
2 | #define PIN_DATA D1
|
C:\Users\maik-\Downloads\esp8266-co2monitor-master\esp8266-co2monitor\esp8266-co2monitor\esp8266-co2monitor.ino: In function 'bool decodeDataPackage(byte*)':
C:\Users\maik-\Downloads\esp8266-co2monitor-master\esp8266-co2monitor\esp8266-co2monitor\esp8266-co2monitor.ino:326:1: error: control reaches end of non-void function [-Werror=return-type]
326 | }
| ^
cc1plus.exe: some warnings being treated as errors

exit status 1

Compilation error: control reaches end of non-void function [-Werror=return-type]

was kann ich dagegen tun?

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