Fix compile for Taz Pro (#19424)

2.0.x
InsanityAutomation 4 years ago committed by Scott Lahteine
parent dc7e2965d6
commit a50633d8e0

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

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

@ -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
Loading…
Cancel
Save