ErikZalm/Marlin — Issue #32: Sanguinololu compile error: planner.cpp
Author: danielpublic
Created: 2011-12-11 20:11:36+00:00
State: open

Arduino-0022; Given
#define MOTHERBOARD 62
and
Board -> Sanguino selected in Arduino software Tools menu
verify/compile generates an error:

planner.cpp: In function 'void plan_buffer_line(const float&, const float&, const float&, const float&, float, const uint8_t&)':
planner.cpp:478:7: error: variable '__c' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
planner.cpp:484:7: error: variable '__c' must be const in order to be put into read-only section by means of '__attribute__((progmem))'