diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-08 06:23:04 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-08 14:49:01 (GMT) |
| commit | 898ba6a9c637c2269d48c8ac8c42347acd0e2c7c (patch) | |
| tree | d79da6090bdfd1ed6520434783519301ad1818b8 /src/components/datetime/DateTimeController.cpp | |
| parent | 9062562bc98211c70bedc8050e6b8ae1facc0328 (diff) | |
Sans uptime code
Diffstat (limited to 'src/components/datetime/DateTimeController.cpp')
| -rw-r--r-- | src/components/datetime/DateTimeController.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/components/datetime/DateTimeController.cpp b/src/components/datetime/DateTimeController.cpp index 0dd5347..2d21e9a 100644 --- a/src/components/datetime/DateTimeController.cpp +++ b/src/components/datetime/DateTimeController.cpp @@ -50,7 +50,6 @@ void DateTime::UpdateTime(uint32_t systickCounter) { systickDelta >>= 10; currentDateTime += std::chrono::seconds(systickDelta); - uptime += std::chrono::seconds(systickDelta); auto dp = date::floor<date::days>(currentDateTime); auto time = date::make_time(currentDateTime - dp); |
