Browse Source

Apply const to _EEPROM_writeData value param

pull/1/head
Scott Lahteine 8 years ago
parent
commit
6d6a1db6ec
  1. 2
      Marlin/configuration_store.cpp

2
Marlin/configuration_store.cpp

@ -183,7 +183,7 @@ void Config_Postprocess() {
bool eeprom_write_error;
void _EEPROM_writeData(int &pos, uint8_t* value, uint16_t size) {
void _EEPROM_writeData(int &pos, const uint8_t* value, uint16_t size) {
if (eeprom_write_error) return;
while (size--) {
uint8_t * const p = (uint8_t * const)pos;

Loading…
Cancel
Save