Fix MIN/MAX function collision with macros
This commit is contained in:
@@ -126,7 +126,7 @@ typedef struct { int16_t X, Y, Z; } tmc
|
||||
typedef struct { bool X, Y, Z, X2, Y2, Z2, Z3, E0, E1, E2, E3, E4, E5; } tmc_stealth_enabled_t;
|
||||
|
||||
// Limit an index to an array size
|
||||
#define ALIM(I,ARR) MIN(I, COUNT(ARR) - 1)
|
||||
#define ALIM(I,ARR) _MIN(I, COUNT(ARR) - 1)
|
||||
|
||||
/**
|
||||
* Current EEPROM Layout
|
||||
|
Reference in New Issue
Block a user