[2.0.x] TMC2130 support for LPC platform (#9114)
This commit is contained in:
committed by
Scott Lahteine
parent
34160806c0
commit
5c69d45f5b
@ -82,8 +82,8 @@ typedef int8_t pin_t;
|
||||
#define CRITICAL_SECTION_START unsigned char _sreg = SREG; cli();
|
||||
#define CRITICAL_SECTION_END SREG = _sreg;
|
||||
|
||||
// On AVR this is in math.h?
|
||||
#define square(x) ((x)*(x))
|
||||
#undef sq
|
||||
#define sq(x) ((x)*(x))
|
||||
|
||||
#ifndef strncpy_P
|
||||
#define strncpy_P(dest, src, num) strncpy((dest), (src), (num))
|
||||
|
Reference in New Issue
Block a user