Disable SDSUPPORT by default
As noted in #133 you can’t disable `SDSUPPORT` with `MAKRPANEL`, `PANEL_ONE`, `MINIPANEL`, or `ULTIPANEL`. This patch makes it possible to disable `SDSUPPORT` on these controllers and then disables it by default. Users of these controllers will now need to enable `SDSUPPORT` in their configurations as others currently do.
This commit is contained in:
parent
b23d765991
commit
7c7a4051fe
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
#if ENABLED(MAKRPANEL)
|
#if ENABLED(MAKRPANEL)
|
||||||
#define DOGLCD
|
#define DOGLCD
|
||||||
#define SDSUPPORT
|
|
||||||
#define DEFAULT_LCD_CONTRAST 17
|
#define DEFAULT_LCD_CONTRAST 17
|
||||||
#define ULTIPANEL
|
#define ULTIPANEL
|
||||||
#define NEWPANEL
|
#define NEWPANEL
|
||||||
|
@ -48,7 +47,6 @@
|
||||||
|
|
||||||
|
|
||||||
#if ENABLED(PANEL_ONE)
|
#if ENABLED(PANEL_ONE)
|
||||||
#define SDSUPPORT
|
|
||||||
#define ULTIMAKERCONTROLLER
|
#define ULTIMAKERCONTROLLER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -77,7 +75,6 @@
|
||||||
|
|
||||||
#if ENABLED(MINIPANEL)
|
#if ENABLED(MINIPANEL)
|
||||||
#define DOGLCD
|
#define DOGLCD
|
||||||
#define SDSUPPORT
|
|
||||||
#define ULTIPANEL
|
#define ULTIPANEL
|
||||||
#define NEWPANEL
|
#define NEWPANEL
|
||||||
#define DEFAULT_LCD_CONTRAST 17
|
#define DEFAULT_LCD_CONTRAST 17
|
||||||
|
@ -145,7 +142,6 @@
|
||||||
|
|
||||||
#if ENABLED(ULTIPANEL)
|
#if ENABLED(ULTIPANEL)
|
||||||
#define NEWPANEL //enable this if you have a click-encoder panel
|
#define NEWPANEL //enable this if you have a click-encoder panel
|
||||||
#define SDSUPPORT
|
|
||||||
#define ULTRA_LCD
|
#define ULTRA_LCD
|
||||||
#if ENABLED(DOGLCD) // Change number of lines to match the DOG graphic display
|
#if ENABLED(DOGLCD) // Change number of lines to match the DOG graphic display
|
||||||
#define LCD_WIDTH 22
|
#define LCD_WIDTH 22
|
||||||
|
|
Loading…
Reference in a new issue