Add sanity check for SAV_3DGLCD display types
This commit is contained in:
parent
f331763eca
commit
b703fa9538
@ -367,7 +367,14 @@
|
||||
#endif
|
||||
|
||||
#if ENCODER_PULSES_PER_STEP < 0
|
||||
#error "ENCODER_PULSES_PER_STEP should not be negative, use REVERSE_MENU_DIRECTION instead"
|
||||
#error "ENCODER_PULSES_PER_STEP should not be negative, use REVERSE_MENU_DIRECTION instead."
|
||||
#endif
|
||||
|
||||
/**
|
||||
* SAV_3DGLCD display options
|
||||
*/
|
||||
#if ENABLED(U8GLIB_SSD1306) && ENABLED(U8GLIB_SH1106)
|
||||
#error "Only enable one SAV_3DGLCD display type: U8GLIB_SSD1306 or U8GLIB_SH1106."
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user