Remove some unused vars

This commit is contained in:
Scott Lahteine 2018-05-02 21:40:08 -05:00
parent 5735c8af5b
commit 59e8707a4f

View File

@ -935,8 +935,6 @@ float Temperature::analog2temp(const int raw, const uint8_t e) {
// Thermistor with conversion table? // Thermistor with conversion table?
if (heater_ttbl_map[e] != NULL) { if (heater_ttbl_map[e] != NULL) {
float celsius = 0;
uint8_t i;
short(*tt)[][2] = (short(*)[][2])(heater_ttbl_map[e]); short(*tt)[][2] = (short(*)[][2])(heater_ttbl_map[e]);
for (uint8_t i = 1; i < heater_ttbllen_map[e]; i++) { for (uint8_t i = 1; i < heater_ttbllen_map[e]; i++) {
const short entry10 = PGM_RD_W((*tt)[i][0]); const short entry10 = PGM_RD_W((*tt)[i][0]);