aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HardwareSerial2.cpp
diff options
context:
space:
mode:
authorChris--A <chris@genx.biz>2015-03-18 18:56:08 +1000
committerChris--A <chris@genx.biz>2015-03-18 18:56:08 +1000
commitc9ec4eabdab373c756a624f42660acaf0ec6812d (patch)
tree412625e5164a03e2a89d18f7c64edee7bccb5512 /cores/arduino/HardwareSerial2.cpp
parentdd1ec9920b8fd6b445cdcc943f53333990b34428 (diff)
Updated EEPROM storage class
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)
Diffstat (limited to 'cores/arduino/HardwareSerial2.cpp')
0 files changed, 0 insertions, 0 deletions