aboutsummaryrefslogtreecommitdiff
path: root/firmwares/atmegaxxu2/README.txt
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 /firmwares/atmegaxxu2/README.txt
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 'firmwares/atmegaxxu2/README.txt')
0 files changed, 0 insertions, 0 deletions