From dcf1b48103e408938b4f26608fd4d814dc25c4df Mon Sep 17 00:00:00 2001 From: Rob Giseburt Date: Tue, 15 Oct 2019 21:42:22 -0500 Subject: [PATCH] Fix SINGLE_TRANSLATION_BUILD error --- g2core/stepper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/g2core/stepper.cpp b/g2core/stepper.cpp index 25179b32..b3612873 100644 --- a/g2core/stepper.cpp +++ b/g2core/stepper.cpp @@ -1231,11 +1231,13 @@ stat_t st_get_dw(nvObj_t *nv) #ifdef __TEXT_MODE +#ifndef SINGLE_TRANSLATION_BUILD static const char msg_units0[] = " in"; // used by generic print functions static const char msg_units1[] = " mm"; static const char msg_units2[] = " deg"; static const char *const msg_units[] = { msg_units0, msg_units1, msg_units2 }; #define DEGREE_INDEX 2 +#endif static const char fmt_me[] = "motors energized\n"; static const char fmt_md[] = "motors de-energized\n";