git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: device subsystem rework
[lunaix-os.git]
/
lunaix-os
/
hal
/
rtc
/
hwrtc.c
diff --git
a/lunaix-os/hal/rtc/hwrtc.c
b/lunaix-os/hal/rtc/hwrtc.c
index c3fc1977fdb806bbd63ea33b87b42ccb7e901c87..5a53664214da108e4435a917fa8598b3640a620b 100644
(file)
--- a/
lunaix-os/hal/rtc/hwrtc.c
+++ b/
lunaix-os/hal/rtc/hwrtc.c
@@
-12,16
+12,11
@@
static int rtc_count = 0;
DEFINE_LLIST(rtcs);
DEFINE_LLIST(rtcs);
-void
-hwrtc_init()
-{
- ptr_t init;
- int index;
- ldga_foreach(rtcdev, ptr_t, index, init)
- {
- ((void (*)())init)();
- }
-}
+// void
+// hwrtc_init()
+// {
+// ldga_invoke_fn0(rtcdev);
+// }
void
hwrtc_walltime(datetime_t* dt)
void
hwrtc_walltime(datetime_t* dt)