Browse Source

🩹 Remove extra #include, misc. style

vanilla_fb_2.0.x
Scott Lahteine 3 years ago
parent
commit
a37580e4e8
  1. 4
      Marlin/src/lcd/marlinui.cpp
  2. 2
      Marlin/src/pins/stm32f4/pins_ANET_ET4.h
  3. 2
      buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_BTT002/variant.h
  4. 2
      buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_E3_RRF/variant.h
  5. 2
      buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_GTR_V1/variant.h
  6. 2
      buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_SKR_PRO_11/variant.h
  7. 2
      buildroot/share/PlatformIO/variants/MARLIN_BTT_SKR_SE_BX/variant.h
  8. 2
      buildroot/share/PlatformIO/variants/MARLIN_F407VE/variant.h
  9. 2
      buildroot/share/PlatformIO/variants/MARLIN_FLY_F407ZG/variant.h

4
Marlin/src/lcd/marlinui.cpp

@ -1490,9 +1490,7 @@ constexpr uint8_t epps = ENCODER_PULSES_PER_STEP;
next_filament_display = ms + 5000UL; // Show status message for 5s
#endif
#if ENABLED(STATUS_MESSAGE_SCROLLING)
status_scroll_offset = 0;
#endif
TERN_(STATUS_MESSAGE_SCROLLING, status_scroll_offset = 0);
#else // HAS_WIRED_LCD
UNUSED(persist);
#endif

2
Marlin/src/pins/stm32f4/pins_ANET_ET4.h

@ -23,8 +23,6 @@
#include "env_validate.h"
#include "env_validate.h"
#if HOTENDS > 1 || E_STEPPERS > 1
#error "Anet ET4 only supports one hotend / E-stepper. Comment out this line to continue."
#endif

2
buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_BTT002/variant.h

@ -244,7 +244,7 @@ extern "C" {
#define PIN_WIRE_SCL PB6
// Timer Definitions
//Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
// Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
#define TIMER_TONE TIM7
#define TIMER_SERVO TIM5
#define TIMER_SERIAL TIM2

2
buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_E3_RRF/variant.h

@ -244,7 +244,7 @@ extern "C" {
#define PIN_WIRE_SCL PB8
// Timer Definitions
//Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
// Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
#define TIMER_TONE TIM7
#define TIMER_SERVO TIM5
#define TIMER_SERIAL TIM8

2
buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_GTR_V1/variant.h

@ -254,7 +254,7 @@ extern "C" {
#endif
// Timer Definitions
//Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
// Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
#define TIMER_TONE TIM10
#define TIMER_SERVO TIM5
#define TIMER_SERIAL TIM7

2
buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_SKR_PRO_11/variant.h

@ -254,7 +254,7 @@ extern "C" {
#endif
// Timer Definitions
//Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
// Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
#define TIMER_TONE TIM2
#define TIMER_SERVO TIM5 // Only 1 Servo PIN on SKR-PRO, so use the same timer as defined in PeripheralPins
#define TIMER_SERIAL TIM7

2
buildroot/share/PlatformIO/variants/MARLIN_BTT_SKR_SE_BX/variant.h

@ -156,7 +156,7 @@ extern "C" {
#define NUM_ANALOG_FIRST 108
// Timer Definitions
//Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
// Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
#define TIMER_TONE TIM2
#define TIMER_SERVO TIM5
#define TIMER_SERIAL TIM7

2
buildroot/share/PlatformIO/variants/MARLIN_F407VE/variant.h

@ -298,7 +298,7 @@ extern "C" {
#define PIN_WIRE_SCL PB6
// Timer Definitions
//Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
// Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
#define TIMER_TONE TIM6
// Do not use basic timer: OC is required

2
buildroot/share/PlatformIO/variants/MARLIN_FLY_F407ZG/variant.h

@ -184,7 +184,7 @@ extern "C" {
#define PIN_WIRE_SCL PB6
// Timer Definitions
//Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
// Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
#define TIMER_TONE TIM6
// Do not use basic timer: OC is required

Loading…
Cancel
Save