diff options
Diffstat (limited to 'src/TemperatureError.cpp')
-rw-r--r-- | src/TemperatureError.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/TemperatureError.cpp b/src/TemperatureError.cpp index 182d0755..115d2841 100644 --- a/src/TemperatureError.cpp +++ b/src/TemperatureError.cpp @@ -30,15 +30,20 @@ const char* TemperatureErrorString(TemperatureError err) // and so the heater should just be shut off immediately. bool IsPermanentError(TemperatureError err) { +#if 1 + return false; +#else switch (err) { case TemperatureError::success: case TemperatureError::busBusy: case TemperatureError::ioError: + case TemperatureError::hardwareError: // need this one because it comes up sometimes (Jimustanguitar on seemecnc forum) return false; default: return true; } +#endif } // End |