Skip to content

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