ソースを参照

Add sanity check for SAV_3DGLCD display types

Scott Lahteine 8年前
コミット
b703fa9538
1個のファイルの変更8行の追加1行の削除
  1. 8
    1
      Marlin/SanityCheck.h

+ 8
- 1
Marlin/SanityCheck.h ファイルの表示

@@ -367,7 +367,14 @@
367 367
 #endif
368 368
 
369 369
 #if ENCODER_PULSES_PER_STEP < 0
370
-  #error "ENCODER_PULSES_PER_STEP should not be negative, use REVERSE_MENU_DIRECTION instead"
370
+  #error "ENCODER_PULSES_PER_STEP should not be negative, use REVERSE_MENU_DIRECTION instead."
371
+#endif
372
+
373
+/**
374
+ * SAV_3DGLCD display options
375
+ */
376
+#if ENABLED(U8GLIB_SSD1306) && ENABLED(U8GLIB_SH1106)
377
+  #error "Only enable one SAV_3DGLCD display type: U8GLIB_SSD1306 or U8GLIB_SH1106."
371 378
 #endif
372 379
 
373 380
 /**

読み込み中…
キャンセル
保存