Add LIN_ADVANCE

This commit is contained in:
Sebastianv650
2016-05-04 18:53:17 +02:00
committed by Scott Lahteine
parent e2d4919c01
commit fb8e880734
6 changed files with 178 additions and 3 deletions

View File

@@ -70,6 +70,10 @@ typedef struct {
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