[1.1.x] EEprom code cleanup#10711
[1.1.x] EEprom code cleanup#10711thinkyhead merged 2 commits intoMarlinFirmware:bugfix-1.1.xfrom GMagician:1.1.x-eeprom-code-cleanup
Conversation
|
@thinkyhead just a question, what's the benefit of 'const' vs 'not const'? |
|
@GMagician — Adding In terms of compilation, very often the compiler can tell after the first pass that a variable isn't being altered by the subsequent code, and it can optimize on the second pass just as it would if there was a |
#10710 counterpart