IsStopped / IsRunning inline

This commit is contained in:
Scott Lahteine
2015-04-08 00:56:19 -07:00
parent cf9b58452c
commit 27cb90da8b
3 changed files with 29 additions and 23 deletions

View File

@ -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);