Merge pull request #756 from XPila/MK3-new_lang

Mk3 new lang
This commit is contained in:
XPila 2018-05-20 13:26:28 +02:00 committed by GitHub
commit a184d2b824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,7 @@
#define CMDQUEUE_H #define CMDQUEUE_H
#include "Marlin.h" #include "Marlin.h"
#include "language_all.h" #include "language.h"
// String circular buffer. Commands may be pushed to the buffer from both sides: // String circular buffer. Commands may be pushed to the buffer from both sides:

View File

@ -1,7 +1,7 @@
#include "Marlin.h" #include "Marlin.h"
#include "Configuration.h" #include "Configuration.h"
#include "ConfigurationStore.h" #include "ConfigurationStore.h"
#include "language_all.h" #include "language.h"
#include "mesh_bed_calibration.h" #include "mesh_bed_calibration.h"
#include "mesh_bed_leveling.h" #include "mesh_bed_leveling.h"
#include "stepper.h" #include "stepper.h"

View File

@ -76,8 +76,12 @@ bool tmc2130_sg_change = false;
bool skip_debug_msg = false; bool skip_debug_msg = false;
#define DBG(args...) printf_P(args) #define DBG(args...) printf_P(args)
#ifndef _n
#define _n PSTR #define _n PSTR
#endif //_n
#ifndef _i
#define _i PSTR #define _i PSTR
#endif //_i
//TMC2130 registers //TMC2130 registers
#define TMC2130_REG_GCONF 0x00 // 17 bits #define TMC2130_REG_GCONF 0x00 // 17 bits

View File

@ -21,7 +21,9 @@
#define DBG(args...) printf_P(args) #define DBG(args...) printf_P(args)
//#define DBG(args...) //#define DBG(args...)
#ifndef _n
#define _n PSTR #define _n PSTR
#endif //_n
#define _X ((int16_t)count_position[X_AXIS]) #define _X ((int16_t)count_position[X_AXIS])
#define _Y ((int16_t)count_position[Y_AXIS]) #define _Y ((int16_t)count_position[Y_AXIS])