summaryrefslogtreecommitdiff
path: root/src/components/datetime/DateTimeController.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-09-18 15:37:37 (GMT)
committerJean-François Milants <jf@codingfield.com>2021-09-18 15:37:37 (GMT)
commitf556003de39f88323434644ccf910f9863d854b9 (patch)
treed37d9c33b6233972596218cd4dc080d0d10a06c3 /src/components/datetime/DateTimeController.h
parent7af7db74cde6e8ab23e2e261049cf14396e1e682 (diff)
parent28fdc376b23ee2cd87a3ed8925b44a2f6e614ebf (diff)
Merge branch 'PersistantStorage' of git://github.com/geekbozu/InfiniTime into geekbozu-PersistantStorage
# Conflicts: # src/systemtask/SystemTask.cpp
Diffstat (limited to 'src/components/datetime/DateTimeController.h')
-rw-r--r--src/components/datetime/DateTimeController.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/datetime/DateTimeController.h b/src/components/datetime/DateTimeController.h
index 265d6e9..061c303 100644
--- a/src/components/datetime/DateTimeController.h
+++ b/src/components/datetime/DateTimeController.h
@@ -74,6 +74,7 @@ namespace Pinetime {
}
void Register(System::SystemTask* systemTask);
+ void SetCurrentTime(std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds> t);
private:
uint16_t year = 0;