Skip to content

Commit 894f89b

Browse files
author
Deepika
committed
Added the correct new routine names for mktime and localtime
1 parent a064d8a commit 894f89b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/api/platform/Time.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The C `date` and `time` functions are a group of functions in the standard libra
44

55
You can convert time to a human-readable format using `ctime`, `localtime`, `strftime` and other C standard functions.
66

7-
You cannot use `mktime` and `localtime` C standard library functions in an interrupt handler with the GCC toolchain. We have added dedicated routines for `mktime` and `localtime`, which are optimized and faster then C standard library functions, to overcome this issue.
7+
You cannot use `mktime` and `localtime` C standard library functions in an interrupt handler with the GCC toolchain. We have added dedicated routines `_rtc_mktime` and `_rtc_localtime`, which are optimized and faster then C standard library functions, to overcome this issue.
88

99
### RTC Time class reference
1010

0 commit comments

Comments
 (0)