Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions EEPROMex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ void EEPROMClassEx::setMemPool(int base, int memSize) {
void EEPROMClassEx::setMaxAllowedWrites(int allowedWrites) {
#ifdef _EEPROMEX_DEBUG
_allowedWrites = allowedWrites;
#else
(void)allowedWrites;
#endif
}

Expand Down Expand Up @@ -331,6 +333,8 @@ bool EEPROMClassEx::isWriteOk(int address)
} else {
return true;
}
#else
(void)address;
#endif
return true;
}
Expand All @@ -347,6 +351,8 @@ bool EEPROMClassEx::isReadOk(int address)
} else {
return true;
}
#else
(void)address;
#endif
return true;
}
Expand Down