Ensure language.h include order

See #17604
This commit is contained in:
Scott Lahteine 2020-04-20 09:43:15 -05:00
parent 875cd4e081
commit 000ec9fc13
13 changed files with 7 additions and 18 deletions

View File

@ -936,7 +936,7 @@
// Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS. // Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
// These correspond to the physical drivers, so be mindful if the order is changed. // These correspond to the physical drivers, so be mindful if the order is changed.
#define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO #define DIGIPOT_I2C_MOTOR_CURRENTS { 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 } // AZTEEG_X3_PRO
//#define DIGIPOT_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents) //#define DIGIPOT_USE_RAW_VALUES // Use DIGIPOT_MOTOR_CURRENT raw wiper values (instead of A4988 motor currents)
@ -2358,7 +2358,7 @@
* phase position. Trinamic drivers use a stepper phase table with 1024 values * phase position. Trinamic drivers use a stepper phase table with 1024 values
* spanning 4 full steps with 256 positions each (ergo, 1024 positions). * spanning 4 full steps with 256 positions each (ergo, 1024 positions).
* Full step positions (128, 384, 640, 896) have the highest holding torque. * Full step positions (128, 384, 640, 896) have the highest holding torque.
* *
* Values from 0..1023, -1 to disable homing phase for that axis. * Values from 0..1023, -1 to disable homing phase for that axis.
*/ */
//#define TMC_HOME_PHASE { 896, 896, 896 } //#define TMC_HOME_PHASE { 896, 896, 896 }

View File

@ -81,11 +81,9 @@
#ifdef CUSTOM_MACHINE_NAME #ifdef CUSTOM_MACHINE_NAME
#undef MACHINE_NAME #undef MACHINE_NAME
#define MACHINE_NAME CUSTOM_MACHINE_NAME #define MACHINE_NAME CUSTOM_MACHINE_NAME
#else #elif defined(DEFAULT_MACHINE_NAME)
#ifdef DEFAULT_MACHINE_NAME #undef MACHINE_NAME
#undef MACHINE_NAME #define MACHINE_NAME DEFAULT_MACHINE_NAME
#define MACHINE_NAME DEFAULT_MACHINE_NAME
#endif
#endif #endif
#ifndef MACHINE_UUID #ifndef MACHINE_UUID

View File

@ -21,7 +21,7 @@
*/ */
#include "serial.h" #include "serial.h"
#include "language.h" #include "../inc/MarlinConfig.h"
uint8_t marlin_debug_flags = MARLIN_DEBUG_NONE; uint8_t marlin_debug_flags = MARLIN_DEBUG_NONE;

View File

@ -53,7 +53,6 @@
#include "../lcd/extui/ui_api.h" #include "../lcd/extui/ui_api.h"
#endif #endif
#include "../core/language.h"
#include "../lcd/ultralcd.h" #include "../lcd/ultralcd.h"
#if HAS_BUZZER #if HAS_BUZZER

View File

@ -24,7 +24,6 @@
#if SAVED_POSITIONS #if SAVED_POSITIONS
#include "../../../core/language.h"
#include "../../gcode.h" #include "../../gcode.h"
#include "../../../module/motion.h" #include "../../../module/motion.h"

View File

@ -24,7 +24,6 @@
#if SAVED_POSITIONS #if SAVED_POSITIONS
#include "../../../core/language.h"
#include "../../../module/planner.h" #include "../../../module/planner.h"
#include "../../gcode.h" #include "../../gcode.h"
#include "../../../module/motion.h" #include "../../../module/motion.h"

View File

@ -28,8 +28,8 @@
#if HAS_SPI_LCD #if HAS_SPI_LCD
#include "../inc/MarlinConfig.h"
#include "lcdprint.h" #include "lcdprint.h"
#include "../core/language.h"
/** /**
* lcd_put_u8str_ind_P * lcd_put_u8str_ind_P

View File

@ -51,7 +51,6 @@
#include "stepper.h" #include "stepper.h"
#include "temperature.h" #include "temperature.h"
#include "../lcd/ultralcd.h" #include "../lcd/ultralcd.h"
#include "../core/language.h"
#include "../libs/vector_3.h" // for matrix_3x3 #include "../libs/vector_3.h" // for matrix_3x3
#include "../gcode/gcode.h" #include "../gcode/gcode.h"
#include "../MarlinCore.h" #include "../MarlinCore.h"

View File

@ -67,7 +67,6 @@
#include "motion.h" #include "motion.h"
#include "temperature.h" #include "temperature.h"
#include "../lcd/ultralcd.h" #include "../lcd/ultralcd.h"
#include "../core/language.h"
#include "../gcode/parser.h" #include "../gcode/parser.h"
#include "../MarlinCore.h" #include "../MarlinCore.h"

View File

@ -36,7 +36,6 @@
#include "temperature.h" #include "temperature.h"
#include "../MarlinCore.h" #include "../MarlinCore.h"
#include "../core/language.h"
#include "../gcode/queue.h" #include "../gcode/queue.h"
// See the meaning in the documentation of cubic_b_spline(). // See the meaning in the documentation of cubic_b_spline().

View File

@ -97,7 +97,6 @@ Stepper stepper; // Singleton
#include "temperature.h" #include "temperature.h"
#include "../lcd/ultralcd.h" #include "../lcd/ultralcd.h"
#include "../core/language.h"
#include "../gcode/queue.h" #include "../gcode/queue.h"
#include "../sd/cardreader.h" #include "../sd/cardreader.h"
#include "../MarlinCore.h" #include "../MarlinCore.h"

View File

@ -30,7 +30,6 @@
#include "../MarlinCore.h" #include "../MarlinCore.h"
#include "../lcd/ultralcd.h" #include "../lcd/ultralcd.h"
#include "planner.h" #include "planner.h"
#include "../core/language.h"
#include "../HAL/shared/Delay.h" #include "../HAL/shared/Delay.h"
#if ENABLED(EXTENSIBLE_UI) #if ENABLED(EXTENSIBLE_UI)
#include "../lcd/extui/ui_api.h" #include "../lcd/extui/ui_api.h"

View File

@ -30,7 +30,6 @@
#include "../lcd/ultralcd.h" #include "../lcd/ultralcd.h"
#include "../module/planner.h" // for synchronize #include "../module/planner.h" // for synchronize
#include "../module/printcounter.h" #include "../module/printcounter.h"
#include "../core/language.h"
#include "../gcode/queue.h" #include "../gcode/queue.h"
#include "../module/configuration_store.h" #include "../module/configuration_store.h"