From 484b3b087e5070604efd731c6533fa960fe442fe Mon Sep 17 00:00:00 2001 From: kliment Date: Sun, 15 May 2011 14:08:04 +0200 Subject: Make temperature check interval constant regardless of whether a move is happening or not - this improved PID performance Make temp check interval configurable. Make temp tables static to save RAM. --- Tonokip_Firmware/ThermistorTable_100k.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tonokip_Firmware/ThermistorTable_100k.h') diff --git a/Tonokip_Firmware/ThermistorTable_100k.h b/Tonokip_Firmware/ThermistorTable_100k.h index 3762b6a..d0698b2 100644 --- a/Tonokip_Firmware/ThermistorTable_100k.h +++ b/Tonokip_Firmware/ThermistorTable_100k.h @@ -15,7 +15,7 @@ // max adc: 1023 #define NUMTEMPS 61 -short temptable[NUMTEMPS][2] = { +const short temptable[NUMTEMPS][2] = { { 23 , 300 }, { 25 , 295 }, { 27 , 290 }, -- cgit v1.2.1