Add HAS_HOTEND, etc.

This commit is contained in:
Scott Lahteine
2020-04-19 23:56:55 -05:00
parent 5d0deba938
commit 15f6f53638
38 changed files with 554 additions and 256 deletions

View File

@ -60,7 +60,7 @@
#include "../../../lcd/extui/ui_api.h"
#endif
#if HOTENDS > 1
#if HAS_MULTI_HOTEND
#include "../../../module/tool_change.h"
#endif
@ -283,7 +283,7 @@ G29_TYPE GcodeSuite::G29() {
*/
if (!g29_in_progress) {
#if HOTENDS > 1
#if HAS_MULTI_HOTEND
if (active_extruder != 0) tool_change(0);
#endif