Ver código fonte

Fix a BORG compile warning

Scott Lahteine 5 anos atrás
pai
commit
1087e318e5
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3
    1
      Marlin/src/pins/stm32/pins_THE_BORG.h

+ 3
- 1
Marlin/src/pins/stm32/pins_THE_BORG.h Ver arquivo

30
 #define BOARD_INFO_NAME      "The-Borge"
30
 #define BOARD_INFO_NAME      "The-Borge"
31
 #define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
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
 // Ignore temp readings during development.
37
 // Ignore temp readings during development.
36
 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
38
 //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000

Carregando…
Cancelar
Salvar