diff --git a/heater.c b/heater.c index 5b93e36..dc5a787 100644 --- a/heater.c +++ b/heater.c @@ -457,20 +457,6 @@ uint8_t heaters_all_zero() { return 255; } -/** \brief turn off all heaters - - for emergency stop -*/ -uint8_t heaters_all_off() { - uint8_t i; - for (i = 0; i < NUM_HEATERS; i++) { - if (heaters_runtime[i].heater_output > 0) - return 0; - } - - return 255; -} - #ifdef EECONFIG /** \brief set heater P factor \param index heater to change factor for diff --git a/heater.h b/heater.h index a6f8746..c16e6e3 100644 --- a/heater.h +++ b/heater.h @@ -22,7 +22,6 @@ void heater_set(heater_t index, uint8_t value); void heater_tick(heater_t h, temp_type_t type, uint16_t current_temp, uint16_t target_temp); uint8_t heaters_all_zero(void); -uint8_t heaters_all_off(void); #ifdef EECONFIG void pid_set_p(heater_t index, int32_t p);