ZalophusDokdo / LED_Matrix_Bar_Weather_Station

ESP8266 LED Matrix Bar Weather Station and Clock Massenger
26 stars 12 forks source link

Code compilation problem #5

Open KrawMarc opened 2 years ago

KrawMarc commented 2 years ago

Hello, I have a problem compiling code in arduino, error code below

LEDMatrix_ClockWeather.h:360:44: error: invalid operands of types 'gnu_cxx::__enable_if<true, double>::type' {aka 'double'} and 'long int' to binary 'operator%' 360 long epoch = round(curEpoch + 86400L) % (long)86400L; // NTP ~~~~~~ ^ ~~~~~~
long int
gnu_cxx::__enable_if<true, double>::type {aka double}