Make ALL D-codes available for DEBUG mode

until now D3 and D5 needed to be defined separately
This commit is contained in:
3d-gussner 2020-04-01 16:24:20 +02:00
parent 159c1d68a6
commit ecd409c44f

View File

@ -97,7 +97,7 @@ void print_mem(uint32_t address, uint16_t count, uint8_t type, uint8_t countperl
}
}
#ifdef DEBUG_DCODE3
#if defined DEBUG_DCODE3 || defined DEBUG_DCODES
#define EEPROM_SIZE 0x1000
/*!
### D3 - Read/Write EEPROM <a href="https://reprap.org/wiki/G-code#D3:_Read.2FWrite_EEPROM">D3: Read/Write EEPROM</a>
@ -360,7 +360,7 @@ void dcode_4()
}
#endif //DEBUG_DCODES
#ifdef DEBUG_DCODE5
#if defined DEBUG_DCODE5 || defined DEBUG_DCODES
/*!
### D5 - Read/Write FLASH <a href="https://reprap.org/wiki/G-code#D5:_Read.2FWrite_FLASH">D5: Read/Write Flash</a>