#undef EEPROM_SHEETS_BASE so this internal define for compile-time checking only is not used outside of eeprom.h
This commit is contained in:
parent
dbc603d5f6
commit
712fb1cceb
@ -201,7 +201,6 @@ static Sheets * const EEPROM_Sheets_base = (Sheets*)(EEPROM_SHEETS_BASE);
|
||||
|
||||
//This is supposed to point to last item to allow EEPROM overrun check. Please update when adding new items.
|
||||
#define EEPROM_LAST_ITEM EEPROM_SHEETS_BASE
|
||||
|
||||
// !!!!!
|
||||
// !!!!! this is end of EEPROM section ... all updates MUST BE inserted before this mark !!!!!
|
||||
// !!!!!
|
||||
@ -225,6 +224,8 @@ static constexpr M500_conf * const EEPROM_M500_base = reinterpret_cast<M500_conf
|
||||
static_assert(((sizeof(M500_conf) + 20) < EEPROM_LAST_ITEM), "M500_conf address space conflicts with previous items.");
|
||||
#endif
|
||||
|
||||
#undef EEPROM_SHEETS_BASE
|
||||
|
||||
enum
|
||||
{
|
||||
EEPROM_MMU_CUTTER_ENABLED_enabled = 1,
|
||||
|
Loading…
Reference in New Issue
Block a user