Browse Source

Fix compiler warning

GMagician 7 years ago
parent
commit
00b1b33816
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
     #endif
608
     #endif
609
 
609
 
610
     if (!eeprom_error) {
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
       const uint16_t final_crc = working_crc;
615
       const uint16_t final_crc = working_crc;
614
 
616
 

Loading…
Cancel
Save