-
Notifications
You must be signed in to change notification settings - Fork 41
Description
I still get some issues, I'm using json 6.12.
Maybe add a list of the library version that works on?
`Users/francisfontaine/Documents/GitHub/M5PaperWeather/weather/time.h:25:21: error: 'MyData' was not declared in this scope
25 | bool SetRTCDateTime(MyData &myData)
| ^~~~~~
/Users/francisfontaine/Documents/GitHub/M5PaperWeather/weather/time.h:25:29: error: 'myData' was not declared in this scope
25 | bool SetRTCDateTime(MyData &myData)
| ^~~~~~
In file included from /Users/francisfontaine/Documents/GitHub/M5PaperWeather/weather/weather.ino:34:
/Users/francisfontaine/Documents/GitHub/M5PaperWeather/weather/Time.h:25:35: error: 'bool SetRTCDateTime(MyData&)' redeclared as different kind of entity
25 | bool SetRTCDateTime(MyData &myData)
| ^
/Users/francisfontaine/Documents/GitHub/M5PaperWeather/weather/time.h:25:6: note: previous declaration 'bool SetRTCDateTime'
25 | bool SetRTCDateTime(MyData &myData)
| ^~~~~~~~~~~~~~
/Users/francisfontaine/Documents/GitHub/M5PaperWeather/weather/weather.ino: In function 'void setup()':
/Users/francisfontaine/Documents/GitHub/M5PaperWeather/weather/weather.ino:57:24: error: 'SetRTCDateTime' cannot be used as a function
57 | SetRTCDateTime(myData);
| ~~~~~~~~~~~~~~^~~~~~~~
Multiple libraries were found for "SD.h"
Used: /Users/francisfontaine/Library/Arduino15/packages/esp32/hardware/esp32/3.0.3/libraries/SD
Not used: /Users/francisfontaine/Library/Arduino15/libraries/SD
exit status 1
Compilation error: 'bool SetRTCDateTime(MyData&)' redeclared as different kind of entity`