1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-28 14:24:34 +00:00

Fix compile for Taz Pro (#19424)

This commit is contained in:
InsanityAutomation 2020-09-19 10:20:15 -04:00 committed by Scott Lahteine
parent dc7e2965d6
commit a50633d8e0
4 changed files with 47 additions and 4 deletions

View File

@ -32,7 +32,7 @@
#ifdef SHOW_CUSTOM_BOOTSCREEN #ifdef SHOW_CUSTOM_BOOTSCREEN
#ifdef TOUCH_UI_PORTRAIT #ifdef TOUCH_UI_PORTRAIT
#include "../theme/_bootscreen_portrait.h" #include "../theme/bootscreen_logo_portrait.h"
#else #else
#include "../theme/_bootscreen_landscape.h" #include "../theme/_bootscreen_landscape.h"
#endif #endif

View File

@ -94,9 +94,6 @@ bool LevelingMenu::onTouchEnd(uint8_t tag) {
switch (tag) { switch (tag) {
case 1: GOTO_PREVIOUS(); break; case 1: GOTO_PREVIOUS(); break;
case 2: case 2:
#ifndef BED_LEVELING_COMMANDS
#define BED_LEVELING_COMMANDS "G29"
#endif
#if HAS_MESH #if HAS_MESH
BedMeshScreen::startMeshProbe(); BedMeshScreen::startMeshProbe();
#else #else

View File

@ -27,6 +27,10 @@
#include "../theme/theme.h" #include "../theme/theme.h"
#include "string_format.h" #include "string_format.h"
#ifndef BED_LEVELING_COMMANDS
#define BED_LEVELING_COMMANDS "G29"
#endif
extern tiny_timer_t refresh_timer; extern tiny_timer_t refresh_timer;
/********************************* DL CACHE SLOTS ******************************/ /********************************* DL CACHE SLOTS ******************************/

File diff suppressed because one or more lines are too long