Browse Source

Apply const to _EEPROM_writeData value param

Scott Lahteine 7 years ago
parent
commit
6d6a1db6ec
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/configuration_store.cpp

+ 1
- 1
Marlin/configuration_store.cpp View File

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

Loading…
Cancel
Save