SlashDevin / NeoGPS

NMEA and ublox GPS parser for Arduino, configurable to use as few as 10 bytes of RAM
GNU General Public License v3.0
702 stars 195 forks source link

Conflict with esp32 timelib.h fix #159

Open EtoTen opened 2 years ago

EtoTen commented 2 years ago

NeoTime.h 4.2.9 Line 44 const uint8_t DAYS_PER_WEEK = 7;

Conflicts with compilation due to a define in esp32 Timelib 1.6.1 (https://github.com/PaulStoffregen/Time/blob/master/TimeLib.h) Line 70

define DAYS_PER_WEEK ((time_t)(7UL))

And causes a compilation error.

Renaming variable name to resolve.