forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys: timeutil: expose and use macro for base year
timeutil internally uses 1900 as base year for calculation, that is hidden from caller context. Thus declared a macro in the public header file, and uses that macro will let caller adjust the calulations accordingly. Signed-off-by: Anuj Pathak <[email protected]>
- Loading branch information
1 parent
b90a507
commit 836514c
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters