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

Define sys_now macro as a function #58

Merged
merged 2 commits into from
May 15, 2022
Merged

Define sys_now macro as a function #58

merged 2 commits into from
May 15, 2022

Conversation

mcspr
Copy link
Collaborator

@mcspr mcspr commented May 14, 2022

re. esp8266/Arduino#8560

nit: extern already applies to function declarations
nit2: definition vs. declaration :)
nit3: #define sys_now() ((u32_t)millis()) should have the same result, since we remove func decl of sys_now? same rules as func, must use () to call

@d-a-v d-a-v merged commit 66f84a6 into master May 15, 2022
@mcspr mcspr deleted the mcspr-patch-1 branch May 16, 2022 13:35
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

Successfully merging this pull request may close these issues.

2 participants