1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 06:53:07 +01:00

Fix for sunset/sunrise

This commit is contained in:
norbert-walter
2022-04-04 17:41:55 +02:00
parent 79b0e9ab9e
commit ff76620329
5 changed files with 17 additions and 9 deletions

View File

@@ -220,10 +220,9 @@ void displayHeader(CommonData &commonData, GwApi::BoatValue *date, GwApi::BoatVa
}
// Sunset und sunrise calculation
SensorData calcSunsetSunrise(GwApi *api, double time, double date, double latitude, double longitude, double timezone){
/*
SunData calcSunsetSunrise(GwApi *api, double time, double date, double latitude, double longitude, double timezone){
GwLog *logger=api->getLogger();
SensorData returnset;
SunData returnset;
SunRise sr;
int secPerHour = 3600;
int secPerYear = 86400;
@@ -268,7 +267,6 @@ SensorData calcSunsetSunrise(GwApi *api, double time, double date, double latitu
returnset.sunriseMinute = intminSR;
returnset.sunDown = sunDown;
return returnset;
*/
}
// Battery graphic with fill level