aboutsummaryrefslogtreecommitdiffstats
path: root/api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'api.cpp')
-rw-r--r--api.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/api.cpp b/api.cpp
index 8428868..efb4bdb 100644
--- a/api.cpp
+++ b/api.cpp
@@ -311,6 +311,10 @@ bool Api::datetime_get(datetime_t *t) {
return rtc_get_datetime(t);
}
+bool Api::datetime_set(datetime_t *t) {
+ return rtc_set_datetime(t);
+}
+
int Api::performance_render_interval_get() {
return m_app_render_interval;
}