Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a build error on linux. #51

Closed
wants to merge 1 commit into from

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