kernel: add k_uptime_seconds
Add a helper function for retrieving the system uptime in seconds without having to do a second division. Signed-off-by: Jordan Yates <jordan@embeint.com>
This commit is contained in:
parent
aee130f8d7
commit
98deebd29b
2 changed files with 18 additions and 0 deletions
|
@ -71,6 +71,11 @@ Architectures
|
|||
|
||||
* Xtensa
|
||||
|
||||
Kernel
|
||||
******
|
||||
|
||||
* Added :c:func:`k_uptime_seconds` function to simplify `k_uptime_get() / 1000` usage.
|
||||
|
||||
Bluetooth
|
||||
*********
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue