diff --git a/Firmware/config.h b/Firmware/config.h index 24a77dc4..ca70dbcc 100644 --- a/Firmware/config.h +++ b/Firmware/config.h @@ -42,10 +42,18 @@ #define W25X20CL_SPCR SPI_SPCR(W25X20CL_SPI_RATE, 1, 1, 1, 0) #define W25X20CL_SPSR SPI_SPSR(W25X20CL_SPI_RATE) +#include "boards.h" +#include "Configuration_prusa.h" + //LANG - Multi-language support //#define LANG_MODE 0 // primary language only #define LANG_MODE 1 // sec. language support + +#if (MOTHERBOARD == BOARD_EINSY_1_0a) #define LANG_SIZE_RESERVED 0x2b00 // reserved space for secondary language (11008 bytes) +#else //MOTHERBOARD == BOARD_EINSY_1_0a +#define LANG_SIZE_RESERVED 0x2d00 // reserved space for secondary language (11520 bytes) +#endif //MOTHERBOARD == BOARD_EINSY_1_0a #endif //_CONFIG_H