Compiler error #880
-
Hello. I new to everything when it comes to compiling on anything so im a bit lost on this error message im reciveing. All software is up to date btw. src/i2c.cpp: In function 'void i2c_scan()': Environment Status Duration usb FAILED 00:00:34.062 I have 5 errors iin my i2c.ccp file it seems. I've have not changed anything in this file. -- |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Cloned the repository instead of copying it manually and now it works, have no idea why =D |
Beta Was this translation helpful? Give feedback.
-
@strasb Looks like you had an outdated version of code on your disc. Thus, update your repository. If you made a local copy, either by just downloading the code, or by cloning the repo, you must pull the current code. |
Beta Was this translation helpful? Give feedback.
@strasb Looks like you had an outdated version of code on your disc.
The error in i2c.cpp comes from updating onebitdisplay lib to v2.x, this needed a change in line 75 of i2c.cpp.
This was made with a commit an 3 Jun 2022.
Thus, update your repository.
If you made a local copy, either by just downloading the code, or by cloning the repo, you must pull the current code.