Fix compile for Taz Pro (#19424)

This commit is contained in:
InsanityAutomation 2020-09-19 10:20:15 -04:00 committed by GitHub
parent 435e1535cc
commit 4696142a31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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