Browse Source

Always show Compiled:

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
3a89d34e7f
  1. 12
      Marlin/src/MarlinCore.cpp
  2. 2
      Marlin/src/core/language.h

12
Marlin/src/MarlinCore.cpp

@ -977,18 +977,14 @@ void setup() {
SERIAL_CHAR(' '); SERIAL_CHAR(' ');
SERIAL_ECHOLNPGM(SHORT_BUILD_VERSION); SERIAL_ECHOLNPGM(SHORT_BUILD_VERSION);
SERIAL_EOL(); SERIAL_EOL();
#if defined(STRING_DISTRIBUTION_DATE) && defined(STRING_CONFIG_H_AUTHOR) #if defined(STRING_DISTRIBUTION_DATE) && defined(STRING_CONFIG_H_AUTHOR)
SERIAL_ECHO_MSG( SERIAL_ECHO_MSG(
STR_CONFIGURATION_VER " Last Updated: " STRING_DISTRIBUTION_DATE
STRING_DISTRIBUTION_DATE " | Author: " STRING_CONFIG_H_AUTHOR
STR_AUTHOR STRING_CONFIG_H_AUTHOR
); );
SERIAL_ECHO_MSG("Compiled: " __DATE__);
#endif #endif
SERIAL_ECHO_MSG("Compiled: " __DATE__);
SERIAL_ECHO_START(); SERIAL_ECHO_MSG(STR_FREE_MEMORY, freeMemory(), STR_PLANNER_BUFFER_BYTES, (int)sizeof(block_t) * (BLOCK_BUFFER_SIZE));
SERIAL_ECHOLNPAIR(STR_FREE_MEMORY, freeMemory(), STR_PLANNER_BUFFER_BYTES, (int)sizeof(block_t) * (BLOCK_BUFFER_SIZE));
// Set up LEDs early // Set up LEDs early
#if HAS_COLOR_LEDS #if HAS_COLOR_LEDS

2
Marlin/src/core/language.h

@ -108,8 +108,6 @@
#define STR_BROWNOUT_RESET " Brown out Reset" #define STR_BROWNOUT_RESET " Brown out Reset"
#define STR_WATCHDOG_RESET " Watchdog Reset" #define STR_WATCHDOG_RESET " Watchdog Reset"
#define STR_SOFTWARE_RESET " Software Reset" #define STR_SOFTWARE_RESET " Software Reset"
#define STR_AUTHOR " | Author: "
#define STR_CONFIGURATION_VER " Last Updated: "
#define STR_FREE_MEMORY " Free Memory: " #define STR_FREE_MEMORY " Free Memory: "
#define STR_PLANNER_BUFFER_BYTES " PlannerBufferBytes: " #define STR_PLANNER_BUFFER_BYTES " PlannerBufferBytes: "
#define STR_OK "ok" #define STR_OK "ok"

Loading…
Cancel
Save