New localization - macro declarations fixed
This commit is contained in:
parent
59f3f9d8ec
commit
5b015907aa
@ -76,8 +76,12 @@ bool tmc2130_sg_change = false;
|
||||
bool skip_debug_msg = false;
|
||||
|
||||
#define DBG(args...) printf_P(args)
|
||||
#ifndef _n
|
||||
#define _n PSTR
|
||||
#endif //_n
|
||||
#ifndef _i
|
||||
#define _i PSTR
|
||||
#endif //_i
|
||||
|
||||
//TMC2130 registers
|
||||
#define TMC2130_REG_GCONF 0x00 // 17 bits
|
||||
|
@ -21,7 +21,9 @@
|
||||
|
||||
#define DBG(args...) printf_P(args)
|
||||
//#define DBG(args...)
|
||||
#ifndef _n
|
||||
#define _n PSTR
|
||||
#endif //_n
|
||||
|
||||
#define _X ((int16_t)count_position[X_AXIS])
|
||||
#define _Y ((int16_t)count_position[Y_AXIS])
|
||||
|
Loading…
Reference in New Issue
Block a user