Commit Graph

111 Commits

Author SHA1 Message Date
Verkehrsrot
cbca3ebb90
Merge branch 'master' into development 2022-03-04 18:20:02 +01:00
cyberman54
a08a2a92a4 timekeeper.cpp: fix dcf77 #ifdef 2022-03-02 10:52:13 +01:00
cyberman54
7d70b0d024 timekeeper.cpp: fix compiler warnings 2022-03-02 09:14:57 +01:00
cyberman54
375764f87c cleanup IRAM_ATTR 2022-02-26 17:26:14 +01:00
cyberman54
b63f466905 fix LORA preprocessor directives 2022-02-21 10:44:13 +01:00
cyberman54
a71a7e08a4 getting time from GPS reworked 2022-02-12 16:26:41 +01:00
cyberman54
69da95cd66 sanitize ISR IRAM_ATTR and global vars 2022-02-07 15:38:15 +01:00
cyberman54
ad027f7e80 DRAM_ATTR for global variable used in ISR 2022-01-27 18:04:06 +01:00
cyberman54
dc427314a1 rework task priorities 2022-01-26 16:32:54 +01:00
cyberman54
af01537a95 improve RTC accuracy 2022-01-26 16:21:44 +01:00
cyberman54
529059edf4 integrate esp32 sntp 2022-01-23 21:12:28 +01:00
cyberman54
b3c683d1ac timekeeper.cpp: fix millis 2022-01-22 14:56:16 +01:00
cyberman54
f8e8aec6e0 timekeeper.cpp: add mkgmtime() 2022-01-20 17:37:12 +01:00
cyberman54
b2c89b3e1a timekeeper.cpp: fix #if #endif issue 2022-01-19 20:29:31 +01:00
cyberman54
76317efc00 timekeeper.cpp: fix edge case ClockMinute = 0 2022-01-19 14:27:16 +01:00
cyberman54
cdad3c1891 increase task stack size for clock_loop() 2022-01-18 16:07:24 +01:00
cyberman54
7392fec66c set compile date back one day 2022-01-18 01:01:05 +01:00
cyberman54
ee46833dfa rework dcf77 (part 2) 2022-01-18 01:00:40 +01:00
cyberman54
a7f957dedd rework timekeeper 2022-01-16 19:43:29 +01:00
cyberman54
df8d218c43 removal of all time libs (inital commit) 2022-01-13 23:30:18 +01:00
cyberman54
995cde6a67 fix restore time after deepsleep 2022-01-08 19:10:34 +01:00
cyberman54
779bbdc436 decrease loglevel of timekeeper 2021-10-02 13:19:41 +02:00
cyberman54
3e00fecb28 migration to ezTime lib 2021-05-09 00:02:41 +02:00
cyberman54
ccf9e80c01 add COMPILETIME macro 2021-05-03 19:37:39 +02:00
cyberman54
c62ba70567 fix timesync timesource debug output 2021-04-08 18:19:39 +02:00
cyberman54
e299444a89 change timesource symbol S to blank 2021-04-07 21:29:53 +02:00
cyberman54
c2336397ce fix issue #786 2021-04-07 21:13:16 +02:00
cyberman54
c00612ad76 2nd fix issue #781 2021-04-07 20:20:31 +02:00
cyberman54
f3a70c16c8 timekeeper.cpp: update comments time source 2021-04-06 23:37:51 +02:00
cyberman54
e439d932b9 code sanitization (decentralized several vars) 2021-03-31 19:02:01 +02:00
cyberman54
7d401697f6 issue #774 2021-03-31 09:44:23 +02:00
HouzuoGuo
66d9ef0f4d Enrich the debug-level log message with reading of timestamp at program
compilation as well as GPS time reading when the board time fails to
sync with GPS.

This helps user to debug time synchronisation failure stemmed from
a mismatch of developer's time zone and board's time zone.
2021-01-10 11:51:00 +02:00
Klaus K Wilting
22f0ce5184 revert _millis & sanitizations deep sleep 2020-12-09 20:37:03 +01:00
Klaus K Wilting
e5d13be42e eliminate usage of millis() in whole code 2020-11-02 12:39:46 +01:00
Klaus K Wilting
5bbe4bee02 new _ASSERT function 2020-10-30 12:24:16 +01:00
Klaus K Wilting
69235b94d7 gps time sync improvements 2020-10-05 13:40:22 +02:00
Klaus K Wilting
1186b000b6 some function renames for better code readability 2020-10-04 14:29:57 +02:00
Klaus K Wilting
3b66add7d1 timekeeper.cpp: comments edited 2020-09-29 17:28:27 +02:00
Oliver Seiler
0a510a0c33 Improved time synch handling for GPS based time
This will update the time from GPS on first valid time received by GPS.
2020-09-29 18:59:53 +13:00
Oliver Seiler
1c40572c9b Synch time from GPX on first valid GPS time received 2020-09-28 09:49:41 +13:00
Oliver Seiler
19710bae4b Fixing issue #639 in a better way, that ensures TIME_SYNC_INTERVAL_RETRY is used over TIME_SYNC_INTERVAL when GPS time was invalid 2020-09-27 20:39:02 +13:00
Oliver Seiler
74239d77f4 Fix: issue #639, if no LORA time source available and GPS time in first call is invalid, then time will never get updated from GPS
https://github.com/cyberman54/ESP32-Paxcounter/issues/639
2020-09-27 17:35:27 +13:00
Klaus K Wilting
6b785fedd7 mqtt lib changed (experimental) 2020-06-20 15:04:03 +02:00
Klaus K Wilting
48cbe53cee timekeeper.cpp: removed lora check 2020-06-06 15:15:40 +02:00
Klaus K Wilting
87d93f6978 #include cleanup 2020-03-29 18:08:52 +02:00
Verkehrsrot
ffa4c6d1c6
Merge pull request #570 from cyberman54/development
update branch sds011 to dev
2020-03-14 07:52:07 +01:00
Klaus K Wilting
42ee21a2f7 timesync code sanitziations 2020-03-11 23:49:06 +01:00
Klaus K Wilting
85c342e3d7 bugfix timekeeper.cpp fallback logic 2020-03-07 19:41:27 +01:00
Klaus K Wilting
73a612779b deeply reworked timesync code 2020-03-06 19:24:58 +01:00
Klaus K Wilting
2cf52f1af6 big timesync code sanitization 2020-03-04 21:54:26 +01:00