Skip to content

Merge PR #2794 - EEPROM library V2 #2812

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 7 commits into from
Mar 24, 2015
Merged

Conversation

facchinm
Copy link
Member

No description provided.

Chris--A and others added 7 commits March 17, 2015 17:13
To avoid having a .cpp just for an extern variable definition, `static`
has been chosen over `extern`.

As the `EEPROMClass` class simply wraps functionality located elsewhere,
it is completely compiled away. Even though each translation unit which
includes the header will get a copy with internal linkage, there is no
associated overhead.

More info
[here](http://stackoverflow.com/questions/29098518/extern-variable-only-in-header-unexpectedly-working-why)
Removed hard coded lengths, which were incorrect for standard Arduino's
now.
facchinm added a commit that referenced this pull request Mar 24, 2015
@facchinm facchinm merged commit 046f335 into arduino:master Mar 24, 2015
@facchinm facchinm deleted the test_pr2794 branch March 24, 2015 09:24
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.

3 participants