mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-15 23:13:07 +01:00
Fix for sunset/sunrise
This commit is contained in:
@@ -50,11 +50,20 @@ typedef struct{
|
||||
bool sunDown = true;
|
||||
} SensorData;
|
||||
|
||||
typedef struct{
|
||||
int sunsetHour = 0;
|
||||
int sunsetMinute = 0;
|
||||
int sunriseHour = 0;
|
||||
int sunriseMinute = 0;
|
||||
bool sunDown = true;
|
||||
} SunData;
|
||||
|
||||
typedef struct{
|
||||
GwApi::Status status;
|
||||
GwLog *logger=NULL;
|
||||
GwConfigHandler *config=NULL;
|
||||
SensorData data;
|
||||
SunData sundata;
|
||||
GwApi::BoatValue *time=NULL;
|
||||
GwApi::BoatValue *date=NULL;
|
||||
} CommonData;
|
||||
|
||||
Reference in New Issue
Block a user