ErikZalm/Marlin — pull request #51 by ehntoo (2012-01-19 22:46:03+00:00)
Title: Fix a build error on linux.

Builds were failing with the following two errors, as well as some complaints about needing some consts in the speed lookup table.
temperature.cpp: In function 'int temp2analog(int, uint8_t)':
temperature.cpp:283:7: error: variable '__c' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
temperature.cpp: In function 'float analog2temp(int, uint8_t)':
temperature.cpp:353:7: error: variable '__c' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
temperature.cpp: In function 'void max_temp_error(uint8_t)':
temperature.cpp:582:3: error: variable '__c' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
temperature.cpp: In function 'void min_temp_error(uint8_t)':
temperature.cpp:589:3: error: variable '__c' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
temperature.cpp: In function 'void bed_max_temp_error()':
temperature.cpp:595:3: error: variable '__c' must be const in order to be put into read-only section by means of '__attribute__((progmem))'