From 53140cf87c29d8ac3db551a61805a706d4013337 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Mon, 26 Mar 2012 17:42:10 +0200 Subject: [PATCH] ThermistorTables.h: add a const to temptable. This is apparently required by Arch Linux' avr-gcc. --- ThermistorTable.double.h | 2 +- ThermistorTable.single.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ThermistorTable.double.h b/ThermistorTable.double.h index 60c7bdb..3de3423 100644 --- a/ThermistorTable.double.h +++ b/ThermistorTable.double.h @@ -35,7 +35,7 @@ // Must be the same for all tables. #define NUMTEMPS 102 -uint16_t temptable[NUMTABLES][NUMTEMPS][2] PROGMEM = { +uint16_t const temptable[NUMTABLES][NUMTEMPS][2] PROGMEM = { // Table for the Extruder. // Thermistor: EPCOS B57560G104F diff --git a/ThermistorTable.single.h b/ThermistorTable.single.h index 68d8ba8..f788a37 100644 --- a/ThermistorTable.single.h +++ b/ThermistorTable.single.h @@ -35,7 +35,7 @@ // Must be the same for all tables. #define NUMTEMPS 20 -uint16_t temptable[NUMTABLES][NUMTEMPS][2] PROGMEM = { +uint16_t const temptable[NUMTABLES][NUMTEMPS][2] PROGMEM = { // Table for the Extruder. // Thermistor: unknown