Skip to content

Commit

Permalink
Fix compile for Taz Pro (MarlinFirmware#19424)
Browse files Browse the repository at this point in the history
  • Loading branch information
InsanityAutomation authored Sep 19, 2020
1 parent 435e153 commit 4696142
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#ifdef SHOW_CUSTOM_BOOTSCREEN
#ifdef TOUCH_UI_PORTRAIT
#include "../theme/_bootscreen_portrait.h"
#include "../theme/bootscreen_logo_portrait.h"
#else
#include "../theme/_bootscreen_landscape.h"
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ bool LevelingMenu::onTouchEnd(uint8_t tag) {
switch (tag) {
case 1: GOTO_PREVIOUS(); break;
case 2:
#ifndef BED_LEVELING_COMMANDS
#define BED_LEVELING_COMMANDS "G29"
#endif
#if HAS_MESH
BedMeshScreen::startMeshProbe();
#else
Expand Down
4 changes: 4 additions & 0 deletions Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/screens/screens.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
#include "../theme/theme.h"
#include "string_format.h"

#ifndef BED_LEVELING_COMMANDS
#define BED_LEVELING_COMMANDS "G29"
#endif

extern tiny_timer_t refresh_timer;

/********************************* DL CACHE SLOTS ******************************/
Expand Down
Loading

0 comments on commit 4696142

Please sign in to comment.