Followup to "optimize common strings"

This commit is contained in:
Scott Lahteine 2019-11-30 06:54:14 -06:00
parent 6b4166e67f
commit 1ee648ecd2
3 changed files with 7 additions and 2 deletions

View file

@ -130,7 +130,7 @@ void GcodeSuite::M290() {
, SP_Y_STR, babystep.axis_total[Y_AXIS] , SP_Y_STR, babystep.axis_total[Y_AXIS]
, SP_Z_STR , SP_Z_STR
#else #else
, PSTR("Babystep Z") PSTR("Babystep Z")
#endif #endif
, babystep.axis_total[BS_TODO_AXIS(Z_AXIS)] , babystep.axis_total[BS_TODO_AXIS(Z_AXIS)]
); );

View file

@ -76,6 +76,8 @@ void vector_3::apply_rotation(const matrix_3x3 &matrix) {
matrix.vectors[0][2] * _x + matrix.vectors[1][2] * _y + matrix.vectors[2][2] * _z }; matrix.vectors[0][2] * _x + matrix.vectors[1][2] * _y + matrix.vectors[2][2] * _z };
} }
extern const char SP_X_STR[], SP_Y_STR[], SP_Z_STR[];
void vector_3::debug(PGM_P const title) { void vector_3::debug(PGM_P const title) {
serialprintPGM(title); serialprintPGM(title);
SERIAL_ECHOPAIR_F_P(SP_X_STR, x, 6); SERIAL_ECHOPAIR_F_P(SP_X_STR, x, 6);

View file

@ -35,7 +35,10 @@
#endif #endif
#define BOARD_INFO_NAME "JGAurora A5S A1 board" #define BOARD_INFO_NAME "JGAurora A5S A1 board"
#ifndef STM32_XL_DENSITY
#define STM32_XL_DENSITY #define STM32_XL_DENSITY
#endif
// #define MCU_STM32F103ZE // not yet required // #define MCU_STM32F103ZE // not yet required
// Enable EEPROM Emulation for this board, so that we don't overwrite factory data // Enable EEPROM Emulation for this board, so that we don't overwrite factory data