添加片内硬件rtc

This commit is contained in:
sc committed 2025-11-25 11:36:11 +08:00
1 parent fb4549082c
commit 4718409c91
13 files changed
+410 -272

No files matched your search

+2 -2
View File
@@ -127,10 +127,10 @@ rt_err_t rt_hw_rtc_register(rt_rtc_dev_t *rtc,
device->read = RT_NULL;
device->write = RT_NULL;
device->control = rt_rtc_control;
#endif /* RT_USING_DEVICE_OPS */
#endif // RT_USING_DEVICE_OPS
device->user_data = data;
/* register a character device */
// register a character device
return rt_device_register(device, name, flag);
}