1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-02-11 07:03:07 +01:00

Add more functionality for time and date synchrinisation

This commit is contained in:
norbert-walter
2026-02-06 22:41:34 +01:00
parent ef4546a2e6
commit 6b92a5e69c
2 changed files with 123 additions and 40 deletions

View File

@@ -51,7 +51,7 @@ typedef struct{
double rotationAngle = 0; // Rotation angle in radiant
bool validRotAngle = false; // Valid flag magnet present for rotation sensor
struct tm rtcTime; // UTC time from internal RTC
bool rtcValid = false;
bool rtcValid = false; // Internal RTC chip
int sunsetHour = 0;
int sunsetMinute = 0;
int sunriseHour = 0;