From 4410aac60be76ec4221f931041a797321c961857 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 16 Oct 2017 00:14:02 -0500 Subject: [PATCH] Update temp table script for current format --- buildroot/share/scripts/createTemperatureLookupMarlin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildroot/share/scripts/createTemperatureLookupMarlin.py b/buildroot/share/scripts/createTemperatureLookupMarlin.py index 9859caaaa..8309e62c7 100755 --- a/buildroot/share/scripts/createTemperatureLookupMarlin.py +++ b/buildroot/share/scripts/createTemperatureLookupMarlin.py @@ -136,8 +136,7 @@ def main(argv): print "// Steinhart-Hart Coefficients: a=%.15g, b=%.15g, c=%.15g " % (t.c1, t.c2, t.c3) print "// Theoretical limits of termistor: %.2f to %.2f degC" % (low_bound, up_bound) print - print "#define NUMTEMPS %s" % (len(temps)) - print "const short temptable[NUMTEMPS][2] PROGMEM = {" + print "const short temptable[][2] PROGMEM = {" for temp in temps: adc = t.adc(temp)