Skip to content

Fix a build error on linux.#51

Closed
ehntoo wants to merge 1 commit intoMarlinFirmware:Marlin_v1from
ehntoo:Marlin_v1
Closed

Fix a build error on linux.#51
ehntoo wants to merge 1 commit intoMarlinFirmware:Marlin_v1from
ehntoo:Marlin_v1

Conversation

@ehntoo
Copy link

@ehntoo ehntoo commented Jan 19, 2012

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))'

@ehntoo
Copy link
Author

ehntoo commented Feb 3, 2012

Daid's Pull request #56 is a better fix.

@ehntoo ehntoo closed this Feb 3, 2012
@dvdspeler dvdspeler mentioned this pull request Apr 5, 2013
thinkyhead referenced this pull request in thinkyhead/Marlin Dec 3, 2016
thinkyhead referenced this pull request in thinkyhead/Marlin Sep 6, 2019
tonokip pushed a commit to ultimachine/Marlin that referenced this pull request Jan 24, 2022
Resolve "M175v2 probe too high error"

Closes MarlinFirmware#51

See merge request lulzbot3d/marlin!33
qw3rtrun pushed a commit to qw3rtrun/Marlin that referenced this pull request Sep 7, 2022
arades79 pushed a commit to CELLINKAB/Marlin that referenced this pull request Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments