Skip to content

Conversation

#define digitalPinHasPWM(p) (p < 34)

static const uint8_t LED_BUILTIN = 5;
static const uint8_t BUILTIN_LED = 5;
Copy link
Member

Choose a reason for hiding this comment

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

since those are the same, wouldn't it be better if one of them is define to forward to the other one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, you are right, I will do it. I tried to do it same way as is in ESP8266 core.

@me-no-dev me-no-dev mentioned this pull request Feb 6, 2017
@arcao
Copy link
Contributor Author

arcao commented Feb 6, 2017

Done.

@me-no-dev me-no-dev merged commit e62ecb3 into espressif:master Feb 7, 2017
@me-no-dev
Copy link
Member

thanks :)

@arcao arcao deleted the fix-boards-pins branch February 9, 2017 20:06
darkxst pushed a commit to darkxst/arduino-esp32 that referenced this pull request Dec 5, 2024
* RTC reserves 512 only

* RTC reserves 512 only
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