Multi-language support (#15453)
This commit is contained in:
committed by
Scott Lahteine
parent
dc14d4a13c
commit
6a865a6146
@ -1053,8 +1053,8 @@ uint8_t axes_need_homing(uint8_t axis_bits/*=0x07*/) {
|
||||
|
||||
bool axis_unhomed_error(uint8_t axis_bits/*=0x07*/) {
|
||||
if ((axis_bits = axes_need_homing(axis_bits))) {
|
||||
static const char home_first[] PROGMEM = MSG_HOME_FIRST;
|
||||
char msg[sizeof(home_first)];
|
||||
PGM_P home_first = GET_TEXT(MSG_HOME_FIRST);
|
||||
char msg[strlen_P(home_first)+1];
|
||||
sprintf_P(msg, home_first,
|
||||
TEST(axis_bits, X_AXIS) ? "X" : "",
|
||||
TEST(axis_bits, Y_AXIS) ? "Y" : "",
|
||||
|
Reference in New Issue
Block a user