1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 22:08:02 +00:00

Add sanity check for SAV_3DGLCD display types

This commit is contained in:
Scott Lahteine 2016-06-02 14:35:14 -07:00
parent f331763eca
commit b703fa9538

View File

@ -367,7 +367,14 @@
#endif #endif
#if ENCODER_PULSES_PER_STEP < 0 #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 #endif
/** /**