Patch LIN_ADVANCE for style and forward-compatibility
This commit is contained in:
@@ -64,16 +64,16 @@ typedef struct {
|
||||
|
||||
unsigned char direction_bits; // The direction bit set for this block (refers to *_DIRECTION_BIT in config.h)
|
||||
|
||||
#if ENABLED(ADVANCE)
|
||||
// Advance extrusion
|
||||
#if ENABLED(LIN_ADVANCE)
|
||||
bool use_advance_lead;
|
||||
int e_speed_multiplier8; // Factorised by 2^8 to avoid float
|
||||
#elif ENABLED(ADVANCE)
|
||||
long advance_rate;
|
||||
volatile long initial_advance;
|
||||
volatile long final_advance;
|
||||
float advance;
|
||||
#endif
|
||||
#ifdef LIN_ADVANCE
|
||||
bool use_advance_lead;
|
||||
int e_speed_multiplier8; //factorised by 2^8 to avoid float
|
||||
#endif
|
||||
|
||||
// Fields used by the motion planner to manage acceleration
|
||||
float nominal_speed, // The nominal speed for this block in mm/sec
|
||||
|
Reference in New Issue
Block a user