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_200k.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tonokip_Firmware/ThermistorTable_200k.h') diff --git a/Tonokip_Firmware/ThermistorTable_200k.h b/Tonokip_Firmware/ThermistorTable_200k.h index ef68b5f..4142eb2 100644 --- a/Tonokip_Firmware/ThermistorTable_200k.h +++ b/Tonokip_Firmware/ThermistorTable_200k.h @@ -15,7 +15,7 @@ // max adc: 1023 #define NUMTEMPS 20 -short temptable[NUMTEMPS][2] = { +const short temptable[NUMTEMPS][2] = { {1, 848}, {54, 275}, {107, 228}, -- cgit v1.2.1