Probe cycle line numbers ifdef fixes to get it to compile.
- Updated some of the ifdefs when disabling line numbers feature. Getting messy with this compile-time option. This will likely get cleaned up later. - This is just a push to get the new probing code to compile. Testing and optimization of the code will soon follow and be pushed next.
This commit is contained in:
@ -54,7 +54,11 @@ void mc_homing_cycle();
|
||||
// Perform tool length probe cycle. Requires probe switch.
|
||||
// Returns STATUS_OK in all cases except when the motion is completed without the probe being triggered.
|
||||
// In that case, it returns a STATUS_PROBE_ERROR
|
||||
#ifdef USE_LINE_NUMBERS
|
||||
uint8_t mc_probe_cycle(float *target, float feed_rate, uint8_t invert_feed_rate, int32_t line_number);
|
||||
#else
|
||||
uint8_t mc_probe_cycle(float *target, float feed_rate, uint8_t invert_feed_rate);
|
||||
#endif
|
||||
|
||||
// Performs system reset. If in motion state, kills all motion and sets system alarm.
|
||||
void mc_reset();
|
||||
|
Reference in New Issue
Block a user