summaryrefslogtreecommitdiff
path: root/asm/rich4_time.h
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2021-05-10 19:38:02 +0800
committerIru Cai <mytbk920423@gmail.com>2021-05-10 19:56:04 +0800
commit05bfcbae9cbe9db4797ef2703c4d37f511608fe6 (patch)
tree933dbc0d8c74f313c5af665d627fa54b2f4736d3 /asm/rich4_time.h
parent30d1c31bf84a20d2144dcd2fe5c615f759f21dc4 (diff)
downloadrich4-05bfcbae9cbe9db4797ef2703c4d37f511608fe6.tar.xz
replace get_local_time function
Diffstat (limited to 'asm/rich4_time.h')
-rw-r--r--asm/rich4_time.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/asm/rich4_time.h b/asm/rich4_time.h
new file mode 100644
index 0000000..0f88d28
--- /dev/null
+++ b/asm/rich4_time.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) 2018 Iru Cai <mytbk920423@gmail.com>
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
+#include <stdint.h>
+
+typedef struct
+{
+ uint8_t day;
+ uint8_t month;
+ uint16_t year;
+ uint16_t dayofweek;
+} rich4_time;
+
+void get_local_time(rich4_time *t);