소스 검색

Apply const to _EEPROM_writeData value param

Scott Lahteine 7 년 전
부모
커밋
6d6a1db6ec
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/configuration_store.cpp

+ 1
- 1
Marlin/configuration_store.cpp 파일 보기

@@ -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…
취소
저장