-
Notifications
You must be signed in to change notification settings - Fork 54
Description
I normally prefer to have all warning on during compilation, since some warnings actually may be catastrofig. Could you fix warnings below. You could use e.g.
#ifdef _EEPROMEX_DEBUG
#define _PARAM_allowedWrites allowedWrites
#define _PARAM_address address
#else
#define _PARAM_allowedWrites
#define _PARAM_address
#endif
and then void EEPROMClassEx::setMaxAllowedWrites(int _PARAM_allowedWrites) {
libraries\Arduino-EEPROMEx-master\EEPROMex.cpp:74:45: warning: unused parameter 'allowedWrites' [-Wunused-parameter]
void EEPROMClassEx::setMaxAllowedWrites(int allowedWrites) {
libraries\Arduino-EEPROMEx-master\EEPROMex.cpp:319:35: warning: unused parameter 'address' [-Wunused-parameter]
bool EEPROMClassEx::isWriteOk(int address)
libraries\Arduino-EEPROMEx-master\EEPROMex.cpp:341:34: warning: unused parameter 'address' [-Wunused-parameter]
bool EEPROMClassEx::isReadOk(int address)