Skip to content

Adds Arduino standard macro-functions #6726

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

Merged
merged 3 commits into from
May 11, 2022
Merged

Conversation

SuGlider
Copy link
Collaborator

Description of Change

This is a review of macro basic functions from Arduino.h that were missing from the original Arduino version.
This PR adds some missing functions to ESP32 Arduino.h

Tests scenarios

Tested using ESP32 and a few examples. The main target of testing was to make sure that there is no compiling conflicts.
Also searched for such macro on the source code to verify that those functions are not included anywhere else.

Related links

Closes #6623

@SuGlider SuGlider added this to the 2.0.4 milestone May 10, 2022
@SuGlider SuGlider requested a review from me-no-dev May 10, 2022 18:41
@SuGlider SuGlider self-assigned this May 10, 2022
Adds Arduino basic math Macros with '_' prefix.
Copy link
Collaborator

@mrengineer7777 mrengineer7777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@me-no-dev me-no-dev merged commit 1fed09b into espressif:master May 11, 2022
@SuGlider SuGlider deleted the max branch May 11, 2022 10:55
@SuGlider SuGlider mentioned this pull request May 18, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

max() not accepting #defined values
3 participants