🔧 Fallback STRING_CONFIG_H_AUTHOR
This commit is contained in:
parent
6c09b83f30
commit
3469cb9d24
@ -1277,7 +1277,7 @@ void setup() {
|
|||||||
|
|
||||||
// Identify myself as Marlin x.x.x
|
// Identify myself as Marlin x.x.x
|
||||||
SERIAL_ECHOLNPGM("Marlin " SHORT_BUILD_VERSION);
|
SERIAL_ECHOLNPGM("Marlin " SHORT_BUILD_VERSION);
|
||||||
#if defined(STRING_DISTRIBUTION_DATE) && defined(STRING_CONFIG_H_AUTHOR)
|
#ifdef STRING_DISTRIBUTION_DATE
|
||||||
SERIAL_ECHO_MSG(
|
SERIAL_ECHO_MSG(
|
||||||
" Last Updated: " STRING_DISTRIBUTION_DATE
|
" Last Updated: " STRING_DISTRIBUTION_DATE
|
||||||
" | Author: " STRING_CONFIG_H_AUTHOR
|
" | Author: " STRING_CONFIG_H_AUTHOR
|
||||||
|
@ -141,7 +141,7 @@ void MarlinEthernet::check() {
|
|||||||
|
|
||||||
case CONNECTING:
|
case CONNECTING:
|
||||||
telnetClient.println("Marlin " SHORT_BUILD_VERSION);
|
telnetClient.println("Marlin " SHORT_BUILD_VERSION);
|
||||||
#if defined(STRING_DISTRIBUTION_DATE) && defined(STRING_CONFIG_H_AUTHOR)
|
#ifdef STRING_DISTRIBUTION_DATE
|
||||||
telnetClient.println(
|
telnetClient.println(
|
||||||
" Last Updated: " STRING_DISTRIBUTION_DATE
|
" Last Updated: " STRING_DISTRIBUTION_DATE
|
||||||
" | Author: " STRING_CONFIG_H_AUTHOR
|
" | Author: " STRING_CONFIG_H_AUTHOR
|
||||||
|
@ -26,6 +26,10 @@
|
|||||||
* Conditionals that need to be set before Configuration_adv.h or pins.h
|
* Conditionals that need to be set before Configuration_adv.h or pins.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef STRING_CONFIG_H_AUTHOR
|
||||||
|
#define STRING_CONFIG_H_AUTHOR "(anonymous)"
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extruders have some combination of stepper motors and hotends
|
* Extruders have some combination of stepper motors and hotends
|
||||||
* so we separate these concepts into the defines:
|
* so we separate these concepts into the defines:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user