Sfoglia il codice sorgente

Fix a BORG compile warning

Scott Lahteine 4 anni fa
parent
commit
1087e318e5
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3
    1
      Marlin/src/pins/stm32/pins_THE_BORG.h

+ 3
- 1
Marlin/src/pins/stm32/pins_THE_BORG.h Vedi File

@@ -30,7 +30,9 @@
30 30
 #define BOARD_INFO_NAME      "The-Borge"
31 31
 #define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
32 32
 
33
-#define E2END 0xFFF   // EEPROM end address
33
+#ifndef E2END
34
+  #define E2END 0xFFF   // EEPROM end address
35
+#endif
34 36
 
35 37
 // Ignore temp readings during development.
36 38
 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000

Loading…
Annulla
Salva