Skip to content

Update millis.adoc #797

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 2 commits into from
Nov 30, 2020
Merged

Update millis.adoc #797

merged 2 commits into from
Nov 30, 2020

Conversation

adrianTNT
Copy link
Contributor

changed variable named "time" to "my_time", because it was a conflict when compiling on ESP32 board;
And it is not a good practice to define such generic variables that could be used in system variables.
Using user variables like my_time and my_temp_sensor is much easier to understand for beginners and more intuitive, easier to differentiate from the system variables.

changed variable named "time" to "my_time", because it was a conflict when compiling on ESP32 board; 
And it is not a good practice to define such generic variables that could be used in system variables. 
Using user variables like my_time and my_temp_sensor is much easier to understand for beginners and more intuitive, easier to differentiate from the system variables.
@kengdahl kengdahl requested a review from per1234 November 30, 2020 13:48
Copy link
Collaborator

@per1234 per1234 left a comment

Choose a reason for hiding this comment

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

Please follow the predominant Arduino code style by using camelCase for variable names,

@per1234 per1234 merged commit a71ac02 into arduino:master Nov 30, 2020
@per1234
Copy link
Collaborator

per1234 commented Nov 30, 2020

Thanks so much @adrianTNT!

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