IsStopped / IsRunning inline
This commit is contained in:
parent
cf9b58452c
commit
27cb90da8b
3 changed files with 29 additions and 23 deletions
|
|
@ -443,7 +443,7 @@ void checkExtruderAutoFans()
|
|||
// Temperature Error Handlers
|
||||
//
|
||||
inline void _temp_error(int e, const char *msg1, const char *msg2) {
|
||||
if (!IsStopped()) {
|
||||
if (IsRunning()) {
|
||||
SERIAL_ERROR_START;
|
||||
if (e >= 0) SERIAL_ERRORLN((int)e);
|
||||
serialprintPGM(msg1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue