mathertel / DmxSerial2

An Arduino library for sending and receiving DMX RDM packets.
BSD 3-Clause "New" or "Revised" License
99 stars 30 forks source link

Compiler warning about unused instance of EEPROM class in example RDMSerialRecv.ino #23

Closed g0uus closed 4 years ago

g0uus commented 6 years ago

Compile warning when building the RDMSerialRecv.ino sample -

After updating Arduino AVR Boards to version 1.6.23, which fixes most of the EEPROM related warnings there is a single warning remaining when building the RDMSerialRecv sample at EEPROM.h:145 that static EEPROMClass EEPROM is unused :(

It appears the the sample #includes EEPROM.h but does not actually make use of the resulting instance, thus the compiler, quite rightly, complains that EEPROM is unused.

Fix is simply to remove the line '#include `