Skip to content
Browse files

ThermistorTables.h: add a const to temptable.

This is apparently required by Arch Linux' avr-gcc.
  • Loading branch information...
1 parent 7b909fc commit 53140cf87c29d8ac3db551a61805a706d4013337 @Traumflug Traumflug committed Mar 26, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 ThermistorTable.double.h
  2. +1 −1 ThermistorTable.single.h
View
2 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
View
2 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

0 comments on commit 53140cf

Please sign in to comment.
Something went wrong with that request. Please try again.