In the wait loops of M109 M190 idle() is called, what checks stepper_inactive_time against previous_cmd_ms. Because we can be several minutes inside the loop, resetting previous_cmd_ms only outside the loop caused stepper shutdowns. The name of previous_cmd_ms does not really reflect its use. It's set not only when a new command was received or executed but also in many of the movement routines. For that the little extension of using it during the wait will (hopefully) not hurt. # Conflicts: # Marlin/Configuration_adv.h
|
|
||
3975 |
|
3975 |
|
3976 |
|
3976 |
|
3977 |
|
3977 |
|
|
3978 |
|
|
3978 |
|
3979 |
|
3979 |
|
3980 |
|
3980 |
|
3981 |
|
|
|
||
3989 |
|
3990 |
|
3990 |
|
3991 |
|
3991 |
|
3992 |
|
3992 |
|
|
|
3993 |
|
3993 |
|
3994 |
|
3994 |
|
3995 |
|
3995 |
|
|
|
||
4024 |
|
4024 |
|
4025 |
|
4025 |
|
4026 |
|
4026 |
|
|
4027 |
|
|
4027 |
|
4028 |
|
4028 |
|
4029 |
|
4029 |
|
|
|
4030 |
|
4030 |
|
4031 |
|
4031 |
|
4032 |
|
4032 |
|