You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.
I get this warning when running the latest SparkFun Ublox Arduino Library in Platform.io on a ESP32:
In file included from src/gps.h:5:0, from src/gps.cpp:2: .piolibdeps/SparkFun Ublox Arduino Library_ID5746/src/SparkFun_Ublox_Arduino_Library.h:71:0: warning: "I2C_BUFFER_LENGTH" redefined #define I2C_BUFFER_LENGTH 32 ^ In file included from .piolibdeps/SparkFun Ublox Arduino Library_ID5746/src/SparkFun_Ublox_Arduino_Library.h:38:0, from src/gps.h:5, from src/gps.cpp:2: /home/trycoon/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src/Wire.h:34:0: note: this is the location of the previous definition #define I2C_BUFFER_LENGTH 128
Would it be possible to set this value ONLY when it has not already been set?
I2C_BUFFER_LENGTH 32
Thanks!
The text was updated successfully, but these errors were encountered:
Yep. Probably all that is needed is to change this line to an #ifndef. If you can try it and do a PR I would be very grateful (I don't often do testing on ESP32).
trycoon
added a commit
to trycoon/SparkFun_Ublox_Arduino_Library
that referenced
this issue
Apr 7, 2019
Hi!
I get this warning when running the latest SparkFun Ublox Arduino Library in Platform.io on a ESP32:
In file included from src/gps.h:5:0, from src/gps.cpp:2: .piolibdeps/SparkFun Ublox Arduino Library_ID5746/src/SparkFun_Ublox_Arduino_Library.h:71:0: warning: "I2C_BUFFER_LENGTH" redefined #define I2C_BUFFER_LENGTH 32 ^ In file included from .piolibdeps/SparkFun Ublox Arduino Library_ID5746/src/SparkFun_Ublox_Arduino_Library.h:38:0, from src/gps.h:5, from src/gps.cpp:2: /home/trycoon/.platformio/packages/framework-arduinoespressif32/libraries/Wire/src/Wire.h:34:0: note: this is the location of the previous definition #define I2C_BUFFER_LENGTH 128
Would it be possible to set this value ONLY when it has not already been set?
I2C_BUFFER_LENGTH 32
Thanks!
The text was updated successfully, but these errors were encountered: