Alex Voinea a9feeaa9eb tmc: Do not override tcoolthrs if it is configured
If tcoolthrs is configured (not the default 0), then do not force
the value of tcoolthrs=0xfffff during homing. This way, tcoolthrs
can be set to a custom value during homing.

`tpwmthrs` and `en_pwm_mode`/`en_spreadcycle` are now also
correctly restored if they were changed after startup.

Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
2023-03-15 16:45:36 -04:00
..
2023-03-01 20:43:53 -05:00
2022-07-28 20:43:19 -04:00
2022-09-03 12:23:55 -04:00
2022-05-13 13:53:17 -04:00
2022-11-19 09:58:24 -05:00
2022-04-18 11:07:05 -04:00
2023-03-14 21:11:33 -04:00
2022-06-30 13:56:35 -04:00
2023-03-07 10:57:01 -05:00
2023-03-07 10:57:01 -05:00