New localization - macro declarations fixed

This commit is contained in:
Robert Pelnar 2018-05-20 13:15:46 +02:00
parent 59f3f9d8ec
commit 5b015907aa
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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])