Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] ctime.c中rtc相关函数优化 #9745

Closed
wycwyhwyq opened this issue Dec 6, 2024 · 0 comments
Closed

[Feature] ctime.c中rtc相关函数优化 #9745

wycwyhwyq opened this issue Dec 6, 2024 · 0 comments

Comments

@wycwyhwyq
Copy link
Contributor

Describe problem solved by the proposed feature

对于没有rtc或没有实现rtc驱动的设备,ctime.c中clock_gettime,clock_nanosleep等函数会直接返回错误,导致c库中部分函数调用报错,如time,pthread_cond_timedwait等等。

Describe your preferred solution

没有rtc或没有实现rtc驱动的设备,默认使用其它时钟源来替代。

Describe possible alternatives

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants