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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user