Browse Source

Merge pull request #7715 from GMagician/bugfix-2.0.x

[PR] [Marlin 2.0] Fix compiler warning message
Scott Lahteine 8 years ago
parent
commit
9a03f758cd
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/src/module/configuration_store.cpp

+ 3
- 1
Marlin/src/module/configuration_store.cpp View File

@@ -608,7 +608,9 @@ void MarlinSettings::postprocess() {
608 608
     #endif
609 609
 
610 610
     if (!eeprom_error) {
611
-      const int eeprom_size = eeprom_index;
611
+      #if ENABLED(EEPROM_CHITCHAT)
612
+        const int eeprom_size = eeprom_index;
613
+      #endif
612 614
 
613 615
       const uint16_t final_crc = working_crc;
614 616
 

Loading…
Cancel
Save