Browse Source

Add sanity check for SAV_3DGLCD display types

pull/1/head
Scott Lahteine 9 years ago
parent
commit
b703fa9538
  1. 9
      Marlin/SanityCheck.h

9
Marlin/SanityCheck.h

@ -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
/** /**

Loading…
Cancel
Save