Apply const to tmc_sensorless_homing

This commit is contained in:
Scott Lahteine
2018-04-27 00:51:28 -05:00
parent 212e52e485
commit f83361a814
2 changed files with 2 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ void monitor_tmc_driver();
* Defined here because of limitations with templates and headers.
*/
#if ENABLED(SENSORLESS_HOMING)
void tmc_sensorless_homing(TMC2130Stepper &st, bool enable=true);
void tmc_sensorless_homing(TMC2130Stepper &st, const bool enable=true);
#endif
#if ENABLED(HAVE_TMC2130)