Browse Source

General cleanup

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
a9912681b4
  1. 0
      Marlin/src/core/multi_language.cpp
  2. 2
      Marlin/src/inc/Conditionals_post.h
  3. 2
      Marlin/src/lcd/menu/menu_tmc.cpp
  4. 4
      Marlin/src/lcd/menu/menu_touch_screen.cpp
  5. 2
      Marlin/src/lcd/ultralcd.cpp

0
Marlin/src/core/multi_language.cpp

2
Marlin/src/inc/Conditionals_post.h

@ -2436,7 +2436,7 @@
*/
#if PIN_EXISTS(BEEPER) || EITHER(LCD_USE_I2C_BUZZER, PCA9632_BUZZER)
#define HAS_BUZZER 1
#if DISABLED(LCD_USE_I2C_BUZZER, PCA9632_BUZZER)
#if NONE(LCD_USE_I2C_BUZZER, PCA9632_BUZZER)
#define USE_BEEPER 1
#endif
#endif

2
Marlin/src/lcd/menu/menu_tmc.cpp

@ -26,7 +26,7 @@
#include "../../inc/MarlinConfigPre.h"
#if HAS_TRINAMIC_CONFIG && HAS_LCD_MENU
#if HAS_LCD_MENU && HAS_TRINAMIC_CONFIG
#include "menu.h"
#include "../../module/stepper/indirection.h"

4
Marlin/src/lcd/menu/menu_touch_screen.cpp

@ -22,13 +22,15 @@
#include "../../inc/MarlinConfigPre.h"
#if ENABLED(TOUCH_SCREEN_CALIBRATION)
#if BOTH(HAS_LCD_MENU, TOUCH_SCREEN_CALIBRATION)
#include "menu.h"
#include "../ultralcd.h"
void touch_screen_calibration() {
ui.touch_calibration();
}
#endif // TOUCH_SCREEN_CALIBRATION

2
Marlin/src/lcd/ultralcd.cpp

@ -74,7 +74,7 @@ constexpr uint8_t epps = ENCODER_PULSES_PER_STEP;
#endif
#endif
#if ENABLED(PCA9632_BUZZER) || USE_BEEPER
#if EITHER(PCA9632_BUZZER, USE_BEEPER)
#include "../libs/buzzer.h" // for BUZZ() macro
#if ENABLED(PCA9632_BUZZER)
#include "../feature/leds/pca9632.h"

Loading…
Cancel
Save