aboutsummaryrefslogtreecommitdiffstats
path: root/hal/api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hal/api.cpp')
-rw-r--r--hal/api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hal/api.cpp b/hal/api.cpp
index a983c9b..961cdd5 100644
--- a/hal/api.cpp
+++ b/hal/api.cpp
@@ -328,7 +328,7 @@ bool Api::datetime_get(datetime_t *t) {
#ifndef SDL2_BUILD
return rtc_get_datetime(t);
#else
- return false;
+ return m_sdl_display.get_datetime(t);
#endif
}