瀏覽代碼

Revert accidental removal of check

Alex Voinea 2 年之前
父節點
當前提交
ba0f051f72
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Firmware/mmu2.cpp

+ 3 - 0
Firmware/mmu2.cpp

@@ -18,6 +18,9 @@
 #include "cardreader.h" // for IS_SD_PRINTING
 #include "SpoolJoin.h"
 
+// As of FW 3.12 we only support building the FW with only one extruder, all the multi-extruder infrastructure will be removed.
+// Saves at least 800B of code size
+static_assert(EXTRUDERS==1);
 
 namespace MMU2 {