New localization - macro declarations fixed
This commit is contained in:
parent
59f3f9d8ec
commit
5b015907aa
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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])
|
||||||
|
|
Loading…
Reference in a new issue